java.lang.Object
javax.tools.ForwardingFileObject<F>
javax.tools.ForwardingJavaFileObject<F>
- Type Parameters:
F
- the kind of file object forwarded to by this object
- All Implemented Interfaces:
FileObject
,JavaFileObject
public class ForwardingJavaFileObject<F extends JavaFileObject> extends ForwardingFileObject<F> implements JavaFileObject
Forwards calls to a given file object. Subclasses of this class
might override some of these methods and might also provide
additional fields and methods.
- Since:
- 1.6
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForwardingJavaFileObject(F fileObject)
Creates a new instance of ForwardingJavaFileObject. -
Method Summary
Methods declared in class javax.tools.ForwardingFileObject
getCharContent, openInputStream, openOutputStream, openReader, openWriter
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface javax.tools.FileObject
delete, getCharContent, getLastModified, getName, openInputStream, openOutputStream, openReader, openWriter, toUri
Methods declared in interface javax.tools.JavaFileObject
getAccessLevel, getKind, getNestingKind, isNameCompatible
-
Constructor Details
-
ForwardingJavaFileObject
Creates a new instance of ForwardingJavaFileObject.- Parameters:
fileObject
- delegate to this file object
-