| Modifier and Type | Field and Description |
|---|---|
| private final LocalDateTime | |
| private final Map | |
| private final ZipOutputStream |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this resource, relinquishing any underlying resources. |
| public boolean | |
| private ZipEntry | |
| pack-priv static JmodOutputStream | newOutputStream(Path file, LocalDateTime date, int compressLevel)
This method creates (or overrides, if exists) the JMOD file, returning the output stream to write to the JMOD file. |
| public void | write(int b)
Implements abstract java. Writes the specified byte to this output stream. |
| public void | writeEntry(InputStream in, JmodFile.
Writes the input stream to the named entry of the given section. |
| public void | writeEntry(byte[] bytes, JmodFile.
Writes the given bytes to the named entry of the given section. |
| public void |
| date | back to summary |
|---|---|
| private final LocalDateTime date | |
| entries | back to summary |
|---|---|
| private final Map<JmodFile. | |
| zos | back to summary |
|---|---|
| private final ZipOutputStream zos | |
| JmodOutputStream | back to summary |
|---|---|
| private JmodOutputStream(OutputStream out, LocalDateTime date, int compressLevel) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| contains | back to summary |
|---|---|
| public boolean contains(JmodFile. | |
| newEntry | back to summary |
|---|---|
| private ZipEntry newEntry(JmodFile. | |
| newOutputStream | back to summary |
|---|---|
| pack-priv static JmodOutputStream newOutputStream(Path file, LocalDateTime date, int compressLevel) throws IOException This method creates (or overrides, if exists) the JMOD file, returning the output stream to write to the JMOD file. | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| writeEntry | back to summary |
|---|---|
| public void writeEntry(InputStream in, JmodFile. Writes the input stream to the named entry of the given section. | |
| writeEntry | back to summary |
|---|---|
| public void writeEntry(byte[] bytes, JmodFile. Writes the given bytes to the named entry of the given section. | |
| writeEntry | back to summary |
|---|---|
| public void writeEntry(InputStream in, JmodFile. Writes the given entry to the given input stream. | |