class JavaClassFileObject extends SimpleJavaFileObject
JavaFileObject.Kind
Modifier and Type | Field and Description |
---|---|
private ByteArrayOutputStream |
baos
.
|
private String |
className
.
|
kind, uri
Constructor and Description |
---|
JavaClassFileObject(String className) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
(package private) String |
getClassName() |
OutputStream |
openOutputStream() |
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUri
private ByteArrayOutputStream baos
JavaClassFileObject(String className) throws URISyntaxException
URISyntaxException
String getClassName()
public byte[] getBytes()
public OutputStream openOutputStream() throws IOException
openOutputStream
in interface FileObject
openOutputStream
in class SimpleJavaFileObject
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.