public class StreamJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| 构造器和说明 |
|---|
StreamJavaFileObject(String className,
String code) |
| 限定符和类型 | 方法和说明 |
|---|---|
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUripublic StreamJavaFileObject(String className, String code) throws URISyntaxException
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent 在接口中 FileObjectgetCharContent 在类中 SimpleJavaFileObjectIOExceptionCopyright © 2020–2024 structure. All rights reserved.