de.vxart.zip
Class LocalFileHeader
java.lang.Object
de.vxart.zip.ZipHeader
de.vxart.zip.LocalFileHeader
public class LocalFileHeader
- extends ZipHeader
Encapsulates a "Local File Header" block from a ZIP file.
- Author:
- Philipp Reichart, philipp.reichart@vxart.de
Constructor Summary |
LocalFileHeader(byte[] bytes)
Constructs a new LFH from the given byte array. |
Method Summary |
java.lang.String |
toString()
Returns a really long String representation of a LFH instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
versionNeededToExtract
public short versionNeededToExtract
flag
public short flag
compressionMethod
public short compressionMethod
lastModificationTime
public short lastModificationTime
lastModificationDate
public short lastModificationDate
compressedSize
public long compressedSize
uncompressedSize
public long uncompressedSize
crc
public long crc
nameLength
public int nameLength
extraLength
public int extraLength
LocalFileHeader
public LocalFileHeader(byte[] bytes)
- Constructs a new LFH from the given byte array.
- Parameters:
bytes
- a byte array containing a valid LFH block
toString
public java.lang.String toString()
- Returns a really long String representation of a LFH instance.
Use only for debugging, not for daily consumption.
- Overrides:
toString
in class java.lang.Object