Package | Description |
---|---|
javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
Modifier and Type | Field | Description |
---|---|---|
protected JavaFileObject.Kind |
SimpleJavaFileObject.kind
The kind of this file object.
|
Modifier and Type | Method | Description |
---|---|---|
JavaFileObject.Kind |
ForwardingJavaFileObject.getKind () |
|
JavaFileObject.Kind |
SimpleJavaFileObject.getKind () |
|
JavaFileObject.Kind |
JavaFileObject.getKind ()
Gets the kind of this file object.
|
|
static JavaFileObject.Kind |
JavaFileObject.Kind.valueOf (String name)
Returns the enum constant of this type with the specified name.
|
|
static JavaFileObject.Kind[] |
JavaFileObject.Kind.values ()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput (JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind) |
|
JavaFileObject |
JavaFileManager.getJavaFileForInput (JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind)
Gets a file object for input
representing the specified class of the specified kind in the
given location.
|
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput (JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling) |
|
JavaFileObject |
JavaFileManager.getJavaFileForOutput (JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
Gets a file object for output
representing the specified class of the specified kind in the
given location.
|
|
boolean |
ForwardingJavaFileObject.isNameCompatible (String simpleName,
JavaFileObject.Kind kind) |
|
boolean |
SimpleJavaFileObject.isNameCompatible (String simpleName,
JavaFileObject.Kind kind)
This implementation compares the path of its URI to the given
simple name.
|
|
boolean |
JavaFileObject.isNameCompatible (String simpleName,
JavaFileObject.Kind kind)
Checks if this file object is compatible with the specified
simple name and kind.
|
Modifier and Type | Method | Description |
---|---|---|
Iterable<JavaFileObject> |
ForwardingJavaFileManager.list (JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse) |
|
Iterable<JavaFileObject> |
JavaFileManager.list (JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse)
Lists all file objects matching the given criteria in the given
location.
|
Constructor | Description |
---|---|
SimpleJavaFileObject (URI uri,
JavaFileObject.Kind kind)
Construct a SimpleJavaFileObject of the given kind and with the
given URI.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.