public interface ZipUTF8Writer extends Closeable, Flushable, Appendable
| Modifier and Type | Method and Description |
|---|---|
void |
closeEntry()
Close the current entry
|
void |
finish()
finish the zip file
|
void |
putAndRegisterNextEntry(OdsEntry entry)
Register an entry.
|
void |
putNextEntry(OdsEntry entry)
Put a new entry into the zip stream.
|
void |
registerEntry(OdsEntry entry)
Put a new entry into the manifest.
|
void |
setComment(String comment)
Add a comment to the zip
|
void |
write(byte[] bytes)
Write raw bytes to the output stream
|
append, append, appendvoid setComment(String comment)
comment - the commentvoid putNextEntry(OdsEntry entry) throws IOException
entry - the entryIOException - if an I/O error occursvoid closeEntry()
throws IOException
IOException - if an I/O error occursvoid finish()
throws IOException
IOException - if an I/O error occursvoid putAndRegisterNextEntry(OdsEntry entry) throws IOException
entry - the entryIOException - if an I/O error occursvoid registerEntry(OdsEntry entry)
entry - the entryvoid write(byte[] bytes)
throws IOException
bytes - the bytes to writeIOException - if an I/O error occursCopyright © 2016–2021. All rights reserved.