Class EndOfCentralDir
java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.fsr.EndOfCentralDir
Representation of the end of central directory of a Zip file. At least 22 bytes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EndOfCentralDirparse(SeekableByteChannel channel, int base) Parse an end-of-central-directory record from a channel.toString()
-
Constructor Details
-
EndOfCentralDir
public EndOfCentralDir()
-
-
Method Details
-
parse
Parse an end-of-central-directory record from a channel.- Parameters:
channel- input channelbase- offset of the EOCD signature- Returns:
- parsed EOCD record
- Throws:
IOException- if the record cannot be read
-
toString
-