org.apache.commons.compress.archivers.zip

Interface ZipExtraField

    • Method Detail

      • getLocalFileDataLength

        ZipShort getLocalFileDataLength()
        Length of the extra field in the local file data - without Header-ID or length specifier.
        Returns:
        the length of the field in the local file data
      • getCentralDirectoryLength

        ZipShort getCentralDirectoryLength()
        Length of the extra field in the central directory - without Header-ID or length specifier.
        Returns:
        the length of the field in the central directory
      • getLocalFileDataData

        byte[] getLocalFileDataData()
        The actual data to put into local file data - without Header-ID or length specifier.
        Returns:
        the data
      • getCentralDirectoryData

        byte[] getCentralDirectoryData()
        The actual data to put into central directory - without Header-ID or length specifier.
        Returns:
        the data
      • parseFromLocalFileData

        void parseFromLocalFileData(byte[] buffer,                          int offset,                          int length)                            throws ZipException
        Populate data from this array as if it was in local file data.
        Parameters:
        buffer - the buffer to read data from
        offset - offset into buffer to read data
        length - the length of data
        Throws:
        ZipException - on error
      • parseFromCentralDirectoryData

        void parseFromCentralDirectoryData(byte[] buffer,                                 int offset,                                 int length)                                   throws ZipException
        Populate data from this array as if it was in central directory data.
        Parameters:
        buffer - the buffer to read data from
        offset - offset into buffer to read data
        length - the length of data
        Throws:
        ZipException - on error

Copyright © 2016 The Apache Software Foundation. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14