Methods Summary |
---|
public byte[] | getCentralDirectoryData()The actual data to put central directory - without Header-ID or
length specifier.
return NO_BYTES;
|
public ZipShort | getCentralDirectoryLength()Length of the extra field in the central directory - without
Header-ID or length specifier.
return NULL;
|
public ZipShort | getHeaderId()The Header-ID.
return ID;
|
public static org.apache.tools.zip.JarMarker | getInstance()Since JarMarker is stateless we can always use the same instance.
return DEFAULT;
|
public byte[] | getLocalFileDataData()The actual data to put into local file data - without Header-ID
or length specifier.
return NO_BYTES;
|
public ZipShort | getLocalFileDataLength()Length of the extra field in the local file data - without
Header-ID or length specifier.
return NULL;
|
public void | parseFromLocalFileData(byte[] data, int offset, int length)Populate data from this array as if it was in local file data.
if (length != 0) {
throw new ZipException("JarMarker doesn't expect any data");
}
|