Package net.lingala.zip4j.headers
Class HeaderReader
- java.lang.Object
-
- net.lingala.zip4j.headers.HeaderReader
-
public class HeaderReader extends Object
Helper class to read header information for the zip file
-
-
Constructor Summary
Constructors Constructor Description HeaderReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDirectory(byte[] externalFileAttributes, String fileName)
ZipModel
readAllHeaders(RandomAccessFile zip4jRaf, Zip4jConfig zip4jConfig)
DataDescriptor
readDataDescriptor(InputStream inputStream, boolean isZip64Format)
LocalFileHeader
readLocalFileHeader(InputStream inputStream, Charset charset)
-
-
-
Method Detail
-
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
public boolean isDirectory(byte[] externalFileAttributes, String fileName)
-
-