Class ForwardingJavaFileObject<F extends JavaFileObject>

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.


Nested Class Summary

Nested classes/interfaces declared in interface


Field Summary

Fields declared in class


Constructor Summary

Modifier Constructor Description
protected ForwardingJavaFileObject​(F fileObject)

Creates a new instance of ForwardingJavaFileObject.

Method Summary

Methods declared in class

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

delete, getCharContent, getLastModified, getName, openInputStream, openOutputStream, openReader, openWriter, toUri

Methods declared in interface

getAccessLevel, getKind, getNestingKind, isNameCompatible

Constructor Detail


protected ForwardingJavaFileObject​(F fileObject)

Creates a new instance of ForwardingJavaFileObject.

fileObject - delegate to this file object