Class JavaFile
java.lang.Object
javax.tools.SimpleJavaFileObject
org.glassfish.jersey.examples.reload.compiler.JavaFile
- All Implemented Interfaces:
FileObject,JavaFileObject
Java source file representation.
- Author:
- Jakub Podlesak
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
JavaFileObject.Kind -
Field Summary
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCharContent(boolean ignoreEncodingErrors) Class name getter.Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
-
Constructor Details
-
JavaFile
- Throws:
Exception
-
-
Method Details
-
getClassName
Class name getter.- Returns:
- class name.
-
getCharContent
- Specified by:
getCharContentin interfaceFileObject- Overrides:
getCharContentin classSimpleJavaFileObject- Throws:
IOException
-