public class ZipUTF8WriterImpl extends Object implements ZipUTF8Writer
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence arg0) |
Appendable |
append(CharSequence csq,
int start,
int end) |
static ZipUTF8WriterBuilderImpl |
builder() |
void |
close() |
void |
closeEntry()
Close the current entry
|
void |
finish()
finish the zip file
|
void |
flush() |
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
|
public static ZipUTF8WriterBuilderImpl builder()
public Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence arg0) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void closeEntry()
throws IOException
ZipUTF8WritercloseEntry in interface ZipUTF8WriterIOException - if an I/O error occurspublic void finish()
throws IOException
ZipUTF8Writerfinish in interface ZipUTF8WriterIOException - if an I/O error occurspublic void flush()
throws IOException
flush in interface FlushableIOExceptionpublic void putAndRegisterNextEntry(OdsEntry entry) throws IOException
ZipUTF8WriterputAndRegisterNextEntry in interface ZipUTF8Writerentry - the entryIOException - if an I/O error occurspublic void registerEntry(OdsEntry entry)
ZipUTF8WriterregisterEntry in interface ZipUTF8Writerentry - the entrypublic void putNextEntry(OdsEntry entry) throws IOException
ZipUTF8WriterputNextEntry in interface ZipUTF8Writerentry - the entryIOException - if an I/O error occurspublic void setComment(String comment)
ZipUTF8WritersetComment in interface ZipUTF8Writercomment - the commentpublic void write(byte[] bytes)
throws IOException
ZipUTF8Writerwrite in interface ZipUTF8Writerbytes - the bytes to writeIOException - if an I/O error occursCopyright © 2016–2021. All rights reserved.