Class XZDecompressionFilter
java.lang.Object
kieker.analysis.generic.depcompression.AbstractDecompressionFilter
kieker.analysis.generic.depcompression.XZDecompressionFilter
public class XZDecompressionFilter extends AbstractDecompressionFilter
Decompression filter for stream reading stages providing XZ-decompression.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
Fields Modifier and Type Field Description static int
BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description XZDecompressionFilter()
Create a new XZ 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
-
XZDecompressionFilter
public XZDecompressionFilter()Create a new XZ decompression filter.- Parameters:
settings
- configuration settings
-
-
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
-