public class SingleClassStringWriter
extends com.sun.codemodel.CodeWriter
| Constructor and Description |
|---|
SingleClassStringWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
StringBuffer |
getCode() |
OutputStream |
openBinary(com.sun.codemodel.JPackage pkg,
String fileName) |
Writer |
openSource(com.sun.codemodel.JPackage pkg,
String fileName) |
public OutputStream openBinary(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openBinary in class com.sun.codemodel.CodeWriterIOExceptionpublic Writer openSource(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openSource in class com.sun.codemodel.CodeWriterIOExceptionpublic void close()
throws IOException
close in class com.sun.codemodel.CodeWriterIOExceptionpublic StringBuffer getCode()
Copyright © 2022 The Apache Software Foundation. All rights reserved.