Class ZipDecompressionFilter
java.lang.Object
kieker.analysis.generic.depcompression.AbstractDecompressionFilter
kieker.analysis.generic.depcompression.ZipDecompressionFilter
public class ZipDecompressionFilter extends AbstractDecompressionFilter
Decompression filter for stream reading stages providing Zip-decompression.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
Fields Modifier and Type Field Description static int
BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description ZipDecompressionFilter()
Create zip decompression filter. -
Method Summary
Modifier and Type Method Description java.io.InputStream
chainInputStream(java.io.InputStream inputStream)
Create an input stream with decompression support and use the normal input stream as source.java.lang.String
getExtension()
Return the extension with leading dot.
-
Field Details
-
BUFFER_SIZE
public static final int BUFFER_SIZE- See Also:
- Constant Field Values
-
-
Constructor Details
-
ZipDecompressionFilter
public ZipDecompressionFilter()Create zip decompression filter.
-
-
Method Details
-
chainInputStream
public java.io.InputStream chainInputStream(java.io.InputStream inputStream) throws java.io.IOExceptionDescription copied from class:AbstractDecompressionFilter
Create an input stream with decompression support and use the normal input stream as source.- Specified by:
chainInputStream
in classAbstractDecompressionFilter
- Parameters:
inputStream
- uncompressed input stream- Returns:
- the decompression input stream
- Throws:
java.io.IOException
- on file or stream errors
-
getExtension
public java.lang.String getExtension()Description copied from class:AbstractDecompressionFilter
Return the extension with leading dot.- Specified by:
getExtension
in classAbstractDecompressionFilter
- Returns:
- return the extension
-