This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.tools
class ForwardingJavaFileManager
- All Implemented Interfaces:
- JavaFileManager
public class ForwardingJavaFileManager
extends Object
implements JavaFileManager
Forwards calls to a given file manager. Subclasses of this class
might override some of these methods and might also provide
additional fields and methods.
Constructor Summary |
protected |
Creates a new instance of ForwardingJavaFileManager.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileManager
protected final JavaFileManager fileManager
-
The file manager which all methods are delegated to.
ForwardingJavaFileManager
protected ForwardingJavaFileManager(JavaFileManager fileManager)
-
Creates a new instance of ForwardingJavaFileManager.
- Parameters:
fileManager
- delegate to this file manager
close
public void close()
throws IOException
-
- Throws:
IOException
flush
public void flush()
throws IOException
-
- Throws:
IOException
getClassLoader
public ClassLoader getClassLoader(JavaFileManager.Location location)
-
- Parameters:
location
getFileForInput
public FileObject getFileForInput(JavaFileManager.Location location,
String packageName,
String relativeName)
throws IOException
-
- Parameters:
location
packageName
relativeName
- Throws:
IOException
getFileForOutput
public FileObject getFileForOutput(JavaFileManager.Location location,
String packageName,
String relativeName,
FileObject sibling)
throws IOException
-
- Parameters:
location
packageName
relativeName
sibling
- Throws:
IOException
getJavaFileForInput
public JavaFileObject getJavaFileForInput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind)
throws IOException
-
- Parameters:
location
className
kind
- Throws:
IOException
getJavaFileForOutput
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
throws IOException
-
- Parameters:
location
className
kind
sibling
- Throws:
IOException
handleOption
public boolean handleOption(String current,
Iterator remaining)
-
- Parameters:
current
remaining
hasLocation
public boolean hasLocation(JavaFileManager.Location location)
-
- Parameters:
location
inferBinaryName
public String inferBinaryName(JavaFileManager.Location location,
JavaFileObject file)
-
- Parameters:
location
file
isSameFile
public boolean isSameFile(FileObject a,
FileObject b)
-
- Parameters:
a
b
isSupportedOption
public int isSupportedOption(String option)
-
- Parameters:
option
list
public Iterable list(JavaFileManager.Location location,
String packageName,
Set kinds,
boolean recurse)
throws IOException
-
- Parameters:
location
packageName
kinds
recurse
- Throws:
IOException
- {@inheritDoc}
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.