org.apache.commons.compress.compressors.xz

Class XZCompressorInputStream

    • Constructor Detail

      • XZCompressorInputStream

        public XZCompressorInputStream(InputStream inputStream)                        throws IOException
        Creates a new input stream that decompresses XZ-compressed data from the specified input stream. This doesn't support concatenated .xz files.
        Parameters:
        inputStream - where to read the compressed data
        Throws:
        IOException - if the input is not in the .xz format, the input is corrupt or truncated, the .xz headers specify options that are not supported by this implementation, or the underlying inputStream throws an exception
      • XZCompressorInputStream

        public XZCompressorInputStream(InputStream inputStream,                       boolean decompressConcatenated)                        throws IOException
        Creates a new input stream that decompresses XZ-compressed data from the specified input stream.
        Parameters:
        inputStream - where to read the compressed data
        decompressConcatenated - if true, decompress until the end of the input; if false, stop after the first .xz stream and leave the input position to point to the next byte after the .xz stream
        Throws:
        IOException - if the input is not in the .xz format, the input is corrupt or truncated, the .xz headers specify options that are not supported by this implementation, or the underlying inputStream throws an exception

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