public class JavaFile extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
JavaFile(String className,
String path) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
String |
getClassName()
Class name getter.
|
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUripublic String getClassName()
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.