Class ZipHeader
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ZipHeader
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isFileHeader
(byte[] byteArray, int index) Check the input data is a local file header.
-
Field Details
-
LOCAL_FILE_HEADER
public static final byte[] LOCAL_FILE_HEADERThe file header in zip.
-
-
Method Details
-
isFileHeader
public static boolean isFileHeader(byte[] byteArray, int index) Check the input data is a local file header.- Parameters:
byteArray
- The content of a file.index
- The index where to start.- Returns:
- True if the input data is a local file header, otherwise false.
-