| Package | Description |
|---|---|
| com.sun.codemodel |
Library for generating Java source code
|
| com.sun.codemodel.writer |
| Modifier and Type | Method | Description |
|---|---|---|
void |
JCodeModel.build(CodeWriter out) |
A convenience method for
build(out,out). |
void |
JCodeModel.build(CodeWriter source,
CodeWriter resource) |
Generates Java source code.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
FileCodeWriter |
Writes all the source files under the specified file folder.
|
class |
FilterCodeWriter |
CodeWriter that delegates to another CodeWriter. |
class |
OutputStreamCodeWriter |
|
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.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected CodeWriter |
FilterCodeWriter.core |
| Constructor | Description |
|---|---|
FilterCodeWriter(CodeWriter core) |
|
ProgressCodeWriter(CodeWriter output,
java.io.PrintStream progress) |
|
PrologCodeWriter(CodeWriter core,
java.lang.String prolog) |
Copyright © 2017 Oracle Corporation. All rights reserved.