Class Pack200CompressorInputStream

    • Constructor Detail

      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(InputStream in)
                                     throws IOException
        Decompresses the given stream, caching the decompressed data in memory.

        When reading from a file the File-arg constructor may provide better performance.

        Parameters:
        in - the InputStream from which this object should be created
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(InputStream in,
                                            Pack200Strategy mode)
                                     throws IOException
        Decompresses the given stream using the given strategy to cache the results.

        When reading from a file the File-arg constructor may provide better performance.

        Parameters:
        in - the InputStream from which this object should be created
        mode - the strategy to use
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(InputStream in,
                                            Map<String,​String> props)
                                     throws IOException
        Decompresses the given stream, caching the decompressed data in memory and using the given properties.

        When reading from a file the File-arg constructor may provide better performance.

        Parameters:
        in - the InputStream from which this object should be created
        props - Pack200 properties to use
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(InputStream in,
                                            Pack200Strategy mode,
                                            Map<String,​String> props)
                                     throws IOException
        Decompresses the given stream using the given strategy to cache the results and the given properties.

        When reading from a file the File-arg constructor may provide better performance.

        Parameters:
        in - the InputStream from which this object should be created
        mode - the strategy to use
        props - Pack200 properties to use
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(File f)
                                     throws IOException
        Decompresses the given file, caching the decompressed data in memory.
        Parameters:
        f - the file to decompress
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(File f,
                                            Pack200Strategy mode)
                                     throws IOException
        Decompresses the given file using the given strategy to cache the results.
        Parameters:
        f - the file to decompress
        mode - the strategy to use
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(File f,
                                            Map<String,​String> props)
                                     throws IOException
        Decompresses the given file, caching the decompressed data in memory and using the given properties.
        Parameters:
        f - the file to decompress
        props - Pack200 properties to use
        Throws:
        IOException - if reading fails
      • Pack200CompressorInputStream

        public Pack200CompressorInputStream​(File f,
                                            Pack200Strategy mode,
                                            Map<String,​String> props)
                                     throws IOException
        Decompresses the given file using the given strategy to cache the results and the given properties.
        Parameters:
        f - the file to decompress
        mode - the strategy to use
        props - Pack200 properties to use
        Throws:
        IOException - if reading fails