Class ZipHeader


  • public class ZipHeader
    extends Object
    • Field Detail

      • LOCAL_FILE_HEADER

        public static final byte[] LOCAL_FILE_HEADER
        The file header in zip.
    • Method Detail

      • 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.