CodeWriter that delegates to another CodeWriter.
| Modifier and Type | Field and Description |
|---|---|
| protected CodeWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract com. Called by CodeModel at the end of the process. |
| public OutputStream | openBinary(JPackage pkg, String fileName)
Implements abstract com. Called by CodeModel to store the specified file. |
| public Writer | openSource(JPackage pkg, String fileName)
Overrides com. Called by CodeModel to store the specified file. |
| core | back to summary |
|---|---|
| protected CodeWriter core | |
| FilterCodeWriter | back to summary |
|---|---|
| public FilterCodeWriter(CodeWriter core) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract com. Doc from com. Called by CodeModel at the end of the process.
| |
| openBinary | back to summary |
|---|---|
| public OutputStream openBinary(JPackage pkg, String fileName) throws IOException Implements abstract com. Doc from com. Called by CodeModel to store the specified file. The callee must allocate a storage to store the specified file. The returned stream will be closed before the next file is stored. So the callee can assume that only one OutputStream is active at any given time.
| |
| openSource | back to summary |
|---|---|
| public Writer openSource(JPackage pkg, String fileName) throws IOException Overrides com. Doc from com. Called by CodeModel to store the specified file. The callee must allocate a storage to store the specified file. The returned stream will be closed before the next file is stored. So the callee can assume that only one OutputStream is active at any given time.
| |