Interface ICompressionFilter
- All Known Implementing Classes:
BZip2CompressionFilter,DeflateCompressionFilter,GZipCompressionFilter,NoneCompressionFilter,XZCompressionFilter,ZipCompressionFilter
public interface ICompressionFilter
Common interface for compression filter used in the binary writer.
- Since:
- 1.14
- Author:
- Reiner Jung
-
Method Summary
Modifier and TypeMethodDescriptionchainOutputStream(OutputStream outputStream, Path fileName) Create an output stream with compression support and use the normal output stream as source.Return the extension with leading dot.
-
Method Details
-
chainOutputStream
Create an output stream with compression support and use the normal output stream as source.- Parameters:
outputStream- uncompressed output streamfileName- file name used in compression system, which also use an internal directory structure.- Returns:
- the compression output stream
- Throws:
IOException- on file or stream errors- Since:
- 1.14
-
getExtension
String getExtension()Return the extension with leading dot.- Returns:
- return the extension
- Since:
- 1.14
-