Package | Description |
---|---|
javax.tools |
REVISED Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
Modifier and Type | Class | Description |
---|---|---|
class |
StandardLocation |
REVISED Standard locations of file objects.
|
Modifier and Type | Method | Description |
---|---|---|
JavaFileManager.Location |
ForwardingJavaFileManager.getLocationForModule(JavaFileManager.Location location,
String moduleName) |
NEW
|
JavaFileManager.Location |
ForwardingJavaFileManager.getLocationForModule(JavaFileManager.Location location,
JavaFileObject fo) |
NEW
|
default JavaFileManager.Location |
JavaFileManager.getLocationForModule(JavaFileManager.Location location,
String moduleName) |
NEW Gets a location for a named module within a location, which may be either
a module-oriented location or an output location.
|
default JavaFileManager.Location |
JavaFileManager.getLocationForModule(JavaFileManager.Location location,
JavaFileObject fo) |
NEW Gets a location for the module containing a specific file
to be found within a location, which may be either
a module-oriented location or an output location.
|
static JavaFileManager.Location |
StandardLocation.locationFor(String name) |
REVISED Returns a location object with the given name.
|
Modifier and Type | Method | Description |
---|---|---|
Iterable<Set<JavaFileManager.Location>> |
ForwardingJavaFileManager.listLocationsForModules(JavaFileManager.Location location) |
NEW
|
default Iterable<Set<JavaFileManager.Location>> |
JavaFileManager.listLocationsForModules(JavaFileManager.Location location) |
NEW Lists the locations for all the modules in a module-oriented location or an output location.
|
Modifier and Type | Method | Description |
---|---|---|
JavaFileManager.Location |
ForwardingJavaFileManager.getLocationForModule(JavaFileManager.Location location,
String moduleName) |
NEW
|
JavaFileManager.Location |
ForwardingJavaFileManager.getLocationForModule(JavaFileManager.Location location,
JavaFileObject fo) |
NEW
|
default JavaFileManager.Location |
JavaFileManager.getLocationForModule(JavaFileManager.Location location,
String moduleName) |
NEW Gets a location for a named module within a location, which may be either
a module-oriented location or an output location.
|
default JavaFileManager.Location |
JavaFileManager.getLocationForModule(JavaFileManager.Location location,
JavaFileObject fo) |
NEW Gets a location for the module containing a specific file
to be found within a location, which may be either
a module-oriented location or an output location.
|
<S> ServiceLoader<S> |
ForwardingJavaFileManager.getServiceLoader(JavaFileManager.Location location,
Class<S> service) |
NEW
|
default <S> ServiceLoader<S> |
JavaFileManager.getServiceLoader(JavaFileManager.Location location,
Class<S> service) |
NEW Get a service loader for a specific service class from a given location.
|
String |
ForwardingJavaFileManager.inferModuleName(JavaFileManager.Location location) |
NEW
|
default String |
JavaFileManager.inferModuleName(JavaFileManager.Location location) |
NEW Infer the name of the module from its location, as returned by
getLocationForModule or listModuleLocations . |
Iterable<Set<JavaFileManager.Location>> |
ForwardingJavaFileManager.listLocationsForModules(JavaFileManager.Location location) |
NEW
|
default Iterable<Set<JavaFileManager.Location>> |
JavaFileManager.listLocationsForModules(JavaFileManager.Location location) |
NEW Lists the locations for all the modules in a module-oriented location or an output location.
|
boolean |
ForwardingJavaFileManager.contains(JavaFileManager.Location location,
FileObject fo) |
|
default boolean |
JavaFileManager.contains(JavaFileManager.Location location,
FileObject fo) |
Determines whether or not a given file object is "contained in" a specified location.
|
ClassLoader |
ForwardingJavaFileManager.getClassLoader(JavaFileManager.Location location) |
|
ClassLoader |
JavaFileManager.getClassLoader(JavaFileManager.Location location) |
Returns a class loader for loading plug-ins from the given
package-oriented location.
|
FileObject |
ForwardingJavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName) |
|
FileObject |
JavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName) |
Returns a file object for input
representing the specified relative
name in the specified package in the given package-oriented location.
|
FileObject |
ForwardingJavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling) |
|
FileObject |
JavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling) |
Returns a file object for output
representing the specified relative
name in the specified package in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind) |
|
JavaFileObject |
JavaFileManager.getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind) |
Returns a file object for input
representing the specified class of the specified kind in the
given package-oriented 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) |
Returns a file object for output
representing the specified class of the specified kind in the
given package-oriented location.
|
boolean |
ForwardingJavaFileManager.hasLocation(JavaFileManager.Location location) |
|
boolean |
JavaFileManager.hasLocation(JavaFileManager.Location location) |
Determines if a location is known to this file manager.
|
String |
ForwardingJavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file) |
|
String |
JavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file) |
Infers a binary name of a file object based on a package-oriented location.
|
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
package-oriented location.
|
Copyright © 1993, 2017, Oracle and/or its affiliates · All rights reserved · License