public static class ZipDataDescriptor.Builder extends Object
ZipDataDescriptor
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ZipDataDescriptor |
build()
Build an instance of the data-descriptor.
|
static ZipDataDescriptor.Builder |
fromDescriptor(ZipDataDescriptor dataDescriptor)
Create a builder from an existing entry.
|
long |
getCompressedSize() |
long |
getCrc32() |
long |
getUncompressedSize() |
void |
reset()
Reset the builder in case you want to reuse.
|
void |
setCompressedSize(long compressedSize) |
void |
setCrc32(long crc32) |
void |
setUncompressedSize(long uncompressedSize) |
public static ZipDataDescriptor.Builder fromDescriptor(ZipDataDescriptor dataDescriptor)
public void reset()
public ZipDataDescriptor build()
public long getCrc32()
public void setCrc32(long crc32)
public long getCompressedSize()
public void setCompressedSize(long compressedSize)
public long getUncompressedSize()
public void setUncompressedSize(long uncompressedSize)
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.