public class Zip64ExtraField extends BaseExtraField
Modifier and Type | Class and Description |
---|---|
static class |
Zip64ExtraField.Builder
Builder for
Zip64ExtraField . |
Modifier and Type | Field and Description |
---|---|
static int |
EXPECTED_ID |
static int |
EXTRA_SIZE |
Constructor and Description |
---|
Zip64ExtraField(long uncompressedSize,
long compressedSize,
long offset,
int diskNumber) |
Modifier and Type | Method and Description |
---|---|
static Zip64ExtraField.Builder |
builder()
Make a builder for this class.
|
long |
getCompressedSize() |
int |
getDiskNumber() |
long |
getOffset() |
long |
getUncompressedSize() |
static Zip64ExtraField |
read(InputStream inputStream,
int id,
int size)
Read in the rest of the Zip64ExtraField after the id is read.
|
void |
write(OutputStream outputStream)
Write extra-field to the output-stream.
|
getExtraFieldBytes, getExtraSize, getId, validate
public static final int EXPECTED_ID
public static final int EXTRA_SIZE
public Zip64ExtraField(long uncompressedSize, long compressedSize, long offset, int diskNumber)
public static Zip64ExtraField.Builder builder()
public static Zip64ExtraField read(InputStream inputStream, int id, int size) throws IOException
IOException
public void write(OutputStream outputStream) throws IOException
write
in class BaseExtraField
IOException
public long getUncompressedSize()
public long getCompressedSize()
public long getOffset()
public int getDiskNumber()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.