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.CodeWriter
IOException
public Writer openSource(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openSource
in class com.sun.codemodel.CodeWriter
IOException
public void close() throws IOException
close
in class com.sun.codemodel.CodeWriter
IOException
public StringBuffer getCode()
Copyright © 1970 The Apache Software Foundation. All rights reserved.