com.github.fge.compiler
Class FromStringFileObject
java.lang.Object
javax.tools.SimpleJavaFileObject
com.github.fge.compiler.FromStringFileObject
- All Implemented Interfaces:
- FileObject, JavaFileObject
public final class FromStringFileObject
- extends SimpleJavaFileObject
| Methods inherited from class javax.tools.SimpleJavaFileObject |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri |
FromStringFileObject
public FromStringFileObject(String fullClassName,
String sourceCode)
throws URISyntaxException
- Throws:
URISyntaxException
getCharContent
public CharSequence getCharContent(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
getCharContent in interface FileObject- Overrides:
getCharContent in class SimpleJavaFileObject
- Throws:
IOException