Class JarDiffUnpacker
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.resources.downloader.JarDiffUnpacker
-
- All Implemented Interfaces:
StreamUnpacker
class JarDiffUnpacker extends java.lang.Object implements StreamUnpacker
...
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilecacheFileprivate static java.lang.StringJARDIFF_EXTENSIONprivate static LoggerLOG-
Fields inherited from interface net.adoptopenjdk.icedteaweb.resources.downloader.StreamUnpacker
GZIP_ENCODING, PACK_200_GZIP_ENCODING, PACK_GZ_EXTENSION
-
-
Constructor Summary
Constructors Constructor Description JarDiffUnpacker(java.io.File cacheFile)
-
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.
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
JARDIFF_EXTENSION
private static final java.lang.String JARDIFF_EXTENSION
- See Also:
- Constant Field Values
-
cacheFile
private final java.io.File cacheFile
-
-
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
-
-