public class ZipCentralDirectoryEndInfo extends Object
ZipCentralDirectoryEnd
structure.Modifier and Type | Class and Description |
---|---|
static class |
ZipCentralDirectoryEndInfo.Builder
Builder for the
ZipCentralDirectoryEndInfo . |
Constructor and Description |
---|
ZipCentralDirectoryEndInfo(boolean needsZip64,
int versionMade,
int versionNeeded,
int diskNumber,
int diskNumberStart,
byte[] commentBytes,
byte[] extensibleData,
int numberDisks) |
Modifier and Type | Method and Description |
---|---|
static ZipCentralDirectoryEndInfo.Builder |
builder()
Make a builder for this class.
|
String |
getComment()
Get the comment for the Zip32 format end.
|
byte[] |
getCommentBytes()
Get the comment for the Zip32 format end.
|
int |
getDiskNumber() |
int |
getDiskNumberStart() |
byte[] |
getExtensibleData()
Extensible data needed field for the Zip64 end entry.
|
int |
getNumberDisks()
Get the comment for the Zip64 format end.
|
int |
getVersionMade()
Version made field for the Zip64 end entry.
|
int |
getVersionNeeded()
Version needed field for the Zip64 end entry.
|
boolean |
isNeedsZip64()
Whether we should write a zip64 end with a end-locator or just the noraml end block.
|
public ZipCentralDirectoryEndInfo(boolean needsZip64, int versionMade, int versionNeeded, int diskNumber, int diskNumberStart, byte[] commentBytes, byte[] extensibleData, int numberDisks)
public static ZipCentralDirectoryEndInfo.Builder builder()
public boolean isNeedsZip64()
public int getVersionMade()
public int getVersionNeeded()
public int getDiskNumber()
public int getDiskNumberStart()
public byte[] getCommentBytes()
public String getComment()
public byte[] getExtensibleData()
public int getNumberDisks()
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.