Package net.lingala.zip4j.headers
Class HeaderReader
java.lang.Object
net.lingala.zip4j.headers.HeaderReader
Helper class to read header information for the zip file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisDirectory(byte[] externalFileAttributes, String fileName) readAllHeaders(RandomAccessFile zip4jRaf, Zip4jConfig zip4jConfig) readDataDescriptor(InputStream inputStream, boolean isZip64Format) readLocalFileHeader(InputStream inputStream, Charset charset)
-
Constructor Details
-
HeaderReader
public HeaderReader()
-
-
Method Details
-
readAllHeaders
public ZipModel readAllHeaders(RandomAccessFile zip4jRaf, Zip4jConfig zip4jConfig) throws IOException - Throws:
IOException
-
readLocalFileHeader
public LocalFileHeader readLocalFileHeader(InputStream inputStream, Charset charset) throws IOException - Throws:
IOException
-
readDataDescriptor
public DataDescriptor readDataDescriptor(InputStream inputStream, boolean isZip64Format) throws IOException - Throws:
IOException
-
isDirectory
-