public class XZCompressionFilter extends java.lang.Object implements ICompressionFilter
Constructor and Description |
---|
XZCompressionFilter(Configuration configuration)
Initialize XZCompression with parameter to adhere Kieker configuration system.
|
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
chainOutputStream(java.io.OutputStream outputStream,
java.nio.file.Path fileName)
Create an output stream with compression support and use the normal output stream as source.
|
java.lang.String |
getExtension()
Return the extension with leading dot.
|
public XZCompressionFilter(Configuration configuration)
configuration
- Kieker configuration objectpublic java.io.OutputStream chainOutputStream(java.io.OutputStream outputStream, java.nio.file.Path fileName) throws java.io.IOException
ICompressionFilter
chainOutputStream
in interface ICompressionFilter
outputStream
- uncompressed output streamfileName
- file name used in compression system, which also use an internal directory structure.java.io.IOException
- on file or stream errorspublic java.lang.String getExtension()
ICompressionFilter
getExtension
in interface ICompressionFilter
Copyright 2020 Kieker Project, http://kieker-monitoring.net