Uses of Class
com.sun.codemodel.CodeWriter
-
Packages that use CodeWriter Package Description com.sun.codemodel Library for generating Java source codecom.sun.codemodel.writer -
-
Uses of CodeWriter in com.sun.codemodel
Methods in com.sun.codemodel with parameters of type CodeWriter Modifier and Type Method Description void
JCodeModel. build(CodeWriter out)
A convenience method forbuild(out,out)
.void
JCodeModel. build(CodeWriter source, CodeWriter resource)
Generates Java source code. -
Uses of CodeWriter in com.sun.codemodel.writer
Subclasses of CodeWriter in com.sun.codemodel.writer Modifier and Type Class Description class
FileCodeWriter
Writes all the source files under the specified file folder.class
FilterCodeWriter
CodeWriter
that delegates to anotherCodeWriter
.class
ProgressCodeWriter
Filter CodeWriter that writes a progress message to the specified PrintStream.class
PrologCodeWriter
Writes all the source files under the specified file folder and inserts a file prolog comment in each java source file.class
SingleStreamCodeWriter
Output all source files into a single stream with a little formatting header in front of each file.class
ZipCodeWriter
Writes all the files into a zip file.Fields in com.sun.codemodel.writer declared as CodeWriter Modifier and Type Field Description protected CodeWriter
FilterCodeWriter. core
Constructors in com.sun.codemodel.writer with parameters of type CodeWriter Constructor Description FilterCodeWriter(CodeWriter core)
ProgressCodeWriter(CodeWriter output, PrintStream progress)
PrologCodeWriter(CodeWriter core, String prolog)
-