Interface Compression
-
- All Known Implementing Classes:
LZ4Compression
public interface CompressionThis interface provides a default list of support compression algorithms and some utility functions. It is mainly used by intermediate stored files inExternalSortand sort/index utilities inorg.apache.jackrabbit.oak.index.indexer.document.flatfile. Other compression algorithms can be supported by implementing the methods.
-
-
Field Summary
Fields Modifier and Type Field Description static CompressionGZIPstatic CompressionNONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringaddSuffix(String filename)InputStreamgetInputStream(InputStream in)OutputStreamgetOutputStream(OutputStream out)
-
-
-
Field Detail
-
NONE
static final Compression NONE
-
GZIP
static final Compression GZIP
-
-
Method Detail
-
getInputStream
InputStream getInputStream(InputStream in) throws IOException
- Throws:
IOException
-
getOutputStream
OutputStream getOutputStream(OutputStream out) throws IOException
- Throws:
IOException
-
-