|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JavaFileManager.Location | |
---|---|
javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers. |
Uses of JavaFileManager.Location in javax.annotation.processing |
---|
Methods in javax.annotation.processing with parameters of type JavaFileManager.Location | |
---|---|
FileObject |
Filer.createResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName,
Element... originatingElements)
Creates a new auxiliary resource file for writing and returns a file object for it. |
FileObject |
Filer.getResource(JavaFileManager.Location location,
CharSequence pkg,
CharSequence relativeName)
Returns an object for reading an existing resource. |
Uses of JavaFileManager.Location in javax.tools |
---|
Classes in javax.tools that implement JavaFileManager.Location | |
---|---|
class |
StandardLocation
Standard locations of file objects. |
Methods in javax.tools that return JavaFileManager.Location | |
---|---|
static JavaFileManager.Location |
StandardLocation.locationFor(String name)
Gets a location object with the given name. |
Methods in javax.tools with parameters of type JavaFileManager.Location | |
---|---|
ClassLoader |
JavaFileManager.getClassLoader(JavaFileManager.Location location)
Gets a class loader for loading plug-ins from the given location. |
ClassLoader |
ForwardingJavaFileManager.getClassLoader(JavaFileManager.Location location)
|
FileObject |
JavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName)
Gets a file object for input representing the specified relative name in the specified package in the given location. |
FileObject |
ForwardingJavaFileManager.getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName)
|
FileObject |
JavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling)
Gets a file object for output representing the specified relative name in the specified package in the given location. |
FileObject |
ForwardingJavaFileManager.getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling)
|
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)
|
Iterable<? extends File> |
StandardJavaFileManager.getLocation(JavaFileManager.Location location)
Gets the path associated with the given location. |
boolean |
JavaFileManager.hasLocation(JavaFileManager.Location location)
Determines if a location is known to this file manager. |
boolean |
ForwardingJavaFileManager.hasLocation(JavaFileManager.Location location)
|
String |
JavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file)
Infers a binary name of a file object based on a location. |
String |
ForwardingJavaFileManager.inferBinaryName(JavaFileManager.Location location,
JavaFileObject file)
|
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)
|
void |
StandardJavaFileManager.setLocation(JavaFileManager.Location location,
Iterable<? extends File> path)
Associates the given path with the given location. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.