public class ZipUTF8WriterBuilderImpl extends Object implements ZipUTF8WriterBuilder
| Constructor and Description |
|---|
ZipUTF8WriterBuilderImpl()
Create a new builder
|
| Modifier and Type | Method and Description |
|---|---|
ZipUTF8Writer |
build(OutputStream out)
Build the new writer, with a given output stream
|
ZipUTF8WriterBuilderImpl |
level(int level)
Set the zip level.
|
ZipUTF8WriterBuilderImpl |
noWriterBuffer()
Set the buffer size for the writer to 0
|
ZipUTF8WriterBuilderImpl |
noZipBuffer()
Set the buffer size for the zipper to 0
|
ZipUTF8WriterBuilderImpl |
writerBuffer(int size)
Set the buffer size for the writer
|
ZipUTF8WriterBuilderImpl |
zipBuffer(int size)
Set the buffer size for the zipper
|
public ZipUTF8Writer build(OutputStream out)
ZipUTF8WriterBuilderbuild in interface ZipUTF8WriterBuilderout - the destinationpublic ZipUTF8WriterBuilderImpl level(int level)
level - the levelpublic ZipUTF8WriterBuilderImpl noWriterBuffer()
public ZipUTF8WriterBuilderImpl noZipBuffer()
public ZipUTF8WriterBuilderImpl writerBuffer(int size)
size - the size of the bufferpublic ZipUTF8WriterBuilderImpl zipBuffer(int size)
size - the size of the bufferCopyright © 2016–2021. All rights reserved.