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.

Since:
1.6

Nested Classes

Nested classes/interfaces declared in interface javax.tools.JavaFileObject

JavaFileObject.Kind

Fields

Fields declared in class javax.tools.ForwardingFileObject

fileObject

Constructors

Modifier Constructor Description
protected ForwardingJavaFileObject​(F fileObject)

Creates a new instance of ForwardingJavaFileObject.

Methods

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

Constructors

ForwardingJavaFileObject

protected ForwardingJavaFileObject(F fileObject)

Creates a new instance of ForwardingJavaFileObject.

Parameters:
fileObject - delegate to this file object

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/tools/ForwardingJavaFileObject.html