public class SourceCode extends SimpleJavaFileObject
JavaFileObject.Kind
kind, uri
Constructor and Description |
---|
SourceCode(String className,
String contents) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
public CharSequence getCharContent(boolean ignoreEncodingErrors)
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject