public class JavaSourceFromString extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
JavaSourceFromString(String className,
String code)
Creates new object that contains sources of java class
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors)
Returns class source code
|
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUripublic CharSequence getCharContent(boolean ignoreEncodingErrors)
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectignoreEncodingErrors - not usedCopyright © 2014–2015. All rights reserved.