public class ClassJavaFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor and Description |
|---|
ClassJavaFileObject(String className,
JavaFileObject.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
String |
getClassName() |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openReader, openWriter, toString, toUripublic ClassJavaFileObject(String className, JavaFileObject.Kind kind)
public OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectopenOutputStream in class SimpleJavaFileObjectIOExceptionpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionpublic byte[] getBytes()
public String getClassName()
Copyright © 2017. All rights reserved.