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, toUri
public JavaSourceFileObject(URI uri)
public static Class<?> loadExplicitClass(File explicitClassPath, String qualifiedClassName) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject
IOException
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.