de.vxart.zip
Class CentralDirectoryRecord
java.lang.Object
de.vxart.zip.ZipHeader
de.vxart.zip.CentralDirectoryRecord
public class CentralDirectoryRecord
- extends ZipHeader
Encapsulates a single "Central Directory Record" block from a ZIP file.
- Author:
- Philipp Reichart, philipp.reichart@vxart.de
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionMadeBy
public short versionMadeBy
versionNeededToExtract
public short versionNeededToExtract
flag
public short flag
compressionMethod
public short compressionMethod
lastModificationTime
public short lastModificationTime
lastModificationDate
public short lastModificationDate
crc
public long crc
compressedSize
public long compressedSize
uncompressedSize
public long uncompressedSize
nameLength
public short nameLength
extraLength
public short extraLength
fileCommentLength
public short fileCommentLength
startDiskNumber
public short startDiskNumber
internalFileAttributes
public short internalFileAttributes
externalFileAttributes
public int externalFileAttributes
offsetToLocalFileHeader
public int offsetToLocalFileHeader
CentralDirectoryRecord
public CentralDirectoryRecord(byte[] bytes)
- Constructs a new CDR from the given byte array.
- Parameters:
bytes
- a byte array containing a valid CDR block