public class StringCodeWriter
extends com.sun.codemodel.CodeWriter
JCodeModel.| Constructor and Description |
|---|
StringCodeWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getJavaCode()
Retrieves the Java code as String.
|
OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
String fileName) |
public String getJavaCode()
public OutputStream openBinary(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openBinary in class com.sun.codemodel.CodeWriterIOExceptionpublic void close()
throws IOException
close in class com.sun.codemodel.CodeWriterIOExceptionCopyright © 2015. All rights reserved.