Class PackGzipUnpacker
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.resources.downloader.PackGzipUnpacker
-
- All Implemented Interfaces:
StreamUnpacker
public class PackGzipUnpacker extends java.lang.Object implements StreamUnpacker
Unpacker for PACK200 and Gzip streams. Pack200 from commons-compress: java.util.jar.Pack200 was removed in JDK 14.
-
-
Field Summary
-
Fields inherited from interface net.adoptopenjdk.icedteaweb.resources.downloader.StreamUnpacker
GZIP_ENCODING, LOG, PACK_200_GZIP_ENCODING, PACK_GZ_EXTENSION
-
-
Constructor Summary
Constructors Constructor Description PackGzipUnpacker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamunpack(java.io.InputStream input)Unpacks the content of the input stream.
-
-
-
Method Detail
-
unpack
public java.io.InputStream unpack(java.io.InputStream input) throws java.io.IOExceptionDescription copied from interface:StreamUnpackerUnpacks the content of the input stream. Provides a new input stream with the unpacked content.- Specified by:
unpackin interfaceStreamUnpacker- Parameters:
input- a compressed input stream- Returns:
- an unpacked input stream
- Throws:
java.io.IOException- if anything goes wrong
-
-