java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ZipHeader

public class ZipHeader extends Object
  • Field Details

    • LOCAL_FILE_HEADER

      public static final byte[] LOCAL_FILE_HEADER
      The 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.