public class Zip64CentralDirectoryEnd extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Zip64CentralDirectoryEnd.Builder
Builder for
Zip64CentralDirectoryEnd . |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VERSION_NEEDED
zip64 was documented in version 4.5
|
static int |
FIXED_FIELDS_SIZE |
Constructor and Description |
---|
Zip64CentralDirectoryEnd(int versionMade,
int versionNeeded,
int diskNumber,
int diskNumberStart,
long numRecordsOnDisk,
long numRecordsTotal,
long directorySize,
long directoryOffset,
byte[] extensibleData) |
Modifier and Type | Method and Description |
---|---|
static Zip64CentralDirectoryEnd.Builder |
builder()
Make a builder for this class.
|
long |
getDirectoryOffset() |
long |
getDirectorySize() |
int |
getDiskNumber() |
int |
getDiskNumberStart() |
byte[] |
getExtensibleData() |
long |
getNumRecordsOnDisk() |
long |
getNumRecordsTotal() |
int |
getVersionMade() |
int |
getVersionNeeded() |
static Zip64CentralDirectoryEnd |
read(RewindableInputStream inputStream)
Read one from the input-stream.
|
void |
write(OutputStream outputStream)
Write to the output-stream.
|
public static final int DEFAULT_VERSION_NEEDED
public static final int FIXED_FIELDS_SIZE
public Zip64CentralDirectoryEnd(int versionMade, int versionNeeded, int diskNumber, int diskNumberStart, long numRecordsOnDisk, long numRecordsTotal, long directorySize, long directoryOffset, byte[] extensibleData)
public static Zip64CentralDirectoryEnd.Builder builder()
public static Zip64CentralDirectoryEnd read(RewindableInputStream inputStream) throws IOException
IOException
public void write(OutputStream outputStream) throws IOException
IOException
public int getVersionMade()
public int getVersionNeeded()
public int getDiskNumber()
public int getDiskNumberStart()
public long getNumRecordsOnDisk()
public long getNumRecordsTotal()
public long getDirectorySize()
public long getDirectoryOffset()
public byte[] getExtensibleData()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.