| Package | Description |
|---|---|
| javax.tools |
Provides interfaces for tools which can be invoked from a program, for example, compilers.
|
| Modifier and Type | Field and Description |
|---|---|
protected JavaFileObject |
SimpleJavaFileObject.kind
The kind of this file object.
|
| Modifier and Type | Method and Description |
|---|---|
JavaFileObject |
SimpleJavaFileObject.getKind()
|
JavaFileObject |
ForwardingJavaFileObject.getKind()
|
JavaFileObject |
JavaFileObject.getKind()
Gets the kind of this file object.
|
static JavaFileObject |
JavaFileObject.Kind.valueOf(String
Returns the enum constant of this type with the specified name.
|
static JavaFileObject |
JavaFileObject.Kind.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
JavaFileObject |
JavaFileManager.getJavaFileForInput(JavaFileManager
Gets a
file object for input representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager
|
JavaFileObject |
JavaFileManager.getJavaFileForOutput(JavaFileManager
Gets a
file object for output representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager
|
boolean |
SimpleJavaFileObject.isNameCompatible(String
This implementation compares the path of its URI to the given simple name.
|
boolean |
ForwardingJavaFileObject.isNameCompatible(String
|
boolean |
JavaFileObject.isNameCompatible(String
Checks if this file object is compatible with the specified simple name and kind.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable |
JavaFileManager.list(JavaFileManager
Lists all file objects matching the given criteria in the given location.
|
Iterable |
ForwardingJavaFileManager.list(JavaFileManager
|
| Constructor and Description | |
|---|---|
SimpleJavaFileObject(URI
Construct a SimpleJavaFileObject of the given kind and with the given URI.
|