public class InMemoryJavaFileObject extends SimpleJavaFileObject implements JavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
InMemoryJavaFileObject(String className,
CharSequence content)
Constructor to initialize uri of object from string
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUriclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessLevel, getKind, getNestingKind, isNameCompatibledelete, getLastModified, getName, openInputStream, openOutputStream, openReader, openWriter, toUripublic InMemoryJavaFileObject(String className, CharSequence content)
className - file namecontent - code of filepublic CharSequence getCharContent(boolean ignoreEncodingErrors)
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectCopyright © 2014. All rights reserved.