Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers. |
Uses of JavaFileObject.Kind in javax.tools |
---|
Modifier and Type | Field and Description |
---|---|
protected JavaFileObject.Kind |
SimpleJavaFileObject.kind
The kind of this file object. |
Modifier and Type | Method and Description |
---|---|
JavaFileObject.Kind |
SimpleJavaFileObject.getKind()
|
JavaFileObject.Kind |
JavaFileObject.getKind()
Gets the kind of this file object. |
JavaFileObject.Kind |
ForwardingJavaFileObject.getKind()
|
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 and Description |
---|---|
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.getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind)
|
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. |
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
|
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. |
boolean |
ForwardingJavaFileObject.isNameCompatible(String simpleName,
JavaFileObject.Kind kind)
|
Modifier and Type | Method and Description |
---|---|
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. |
Iterable<JavaFileObject> |
ForwardingJavaFileManager.list(JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse)
|
Constructor and Description |
---|
SimpleJavaFileObject(URI uri,
JavaFileObject.Kind kind)
Construct a SimpleJavaFileObject of the given kind and with the given URI. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.