| Modifier and Type | Field and Description |
|---|---|
| private final OutputStream | |
| private final ZipOutputStream |
| 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. |
| private static String |
| filter | back to summary |
|---|---|
| private final OutputStream filter | |
| zip | back to summary |
|---|---|
| private final ZipOutputStream zip | |
| ZipCodeWriter | back to summary |
|---|---|
public ZipCodeWriter(OutputStream target)
| |
| 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.
| |
| toDirName | back to summary |
|---|---|
| private static String toDirName(JPackage pkg) Converts a package name to the directory name. | |