public class JavaSourceFileObject extends SimpleJavaFileObject
JavaFileObject.Kind| Constructor and Description |
|---|
JavaSourceFileObject(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
static Class<?> |
loadExplicitClass(File explicitClassPath,
String qualifiedClassName)
Load the class whose Java name is qualifiedClassName and whose class file can be found below explicitClassPath.
|
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUripublic JavaSourceFileObject(URI uri)
public static Class<?> loadExplicitClass(File explicitClassPath, String qualifiedClassName) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.