API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.tools. JavaFileManager View Source
Author(s)
Peter von der Ahé
Jonathan Gibbons
Since
1.6
Version
Serial
Hierarchy
 Closeable
      JavaFileManager
Subinterfaces
Description
public interface JavaFileManager
  File manager for tools operating on Java™ programming language source and class files.
See also:    JavaFileObject FileObject
Methods
Hide/Show inherited methods
public void close () throws IOException [Specified in Closeable]
  Releases any resources opened by this file manager directly or indirectly.
public void flush () throws IOException [Specified in Flushable]
  Flushes any resources opened for output by this file manager directly or indirectly.
public ClassLoader getClassLoader (Location location)
  Gets a class loader for loading plug-ins from the given location.
public FileObject getFileForInput (Location location, String packageName, String relativeName) throws IOException
  Gets a file object for input representing the specified relative name in the specified package in the given location.
public FileObject getFileForOutput (Location location, String packageName, String relativeName, FileObject sibling) throws IOException
  Gets a file object for output representing the specified relative name in the specified package in the given location.
public JavaFileObject getJavaFileForInput (Location location, String className, Kind kind) throws IOException
  Gets a file object for input representing the specified class of the specified kind in the given location.
public JavaFileObject getJavaFileForOutput (Location location, String className, Kind kind, FileObject sibling) throws IOException
  Gets a file object for output representing the specified class of the specified kind in the given location.
public boolean handleOption (String current, Iterator<String> remaining)
  Handles one option.
public boolean hasLocation (Location location)
  Determines if a location is known to this file manager.
public String inferBinaryName (Location location, JavaFileObject file)
  Infers a binary name of a file object based on a location.
public boolean isSameFile (FileObject a, FileObject b)
  Compares two file objects and return true if they represent the same underlying object.
public Iterable<JavaFileObject> list (Location location, String packageName, Set<Kind> kinds, boolean recurse) throws IOException
  Lists all file objects matching the given criteria in the given location.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar