public class JavaFileObjectSource extends SimpleJavaFileObject
JavaFileObject.Kind
kind, uri
Constructor and Description |
---|
JavaFileObjectSource(URI uri,
JavaFileObject.Kind kind,
String code) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
String |
getCode() |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
public JavaFileObjectSource(URI uri, JavaFileObject.Kind kind, String code)
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject
IOException
public String getCode()
Copyright © 2005–2022. All rights reserved.