Class LZ4Compression
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.LZ4Compression
-
- All Implemented Interfaces:
Compression
public class LZ4Compression extends java.lang.Object implements Compression
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.commons.Compression
GZIP, NONE
-
-
Constructor Summary
Constructors Constructor Description LZ4Compression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
addSuffix(java.lang.String filename)
java.io.InputStream
getInputStream(java.io.InputStream in)
java.io.OutputStream
getOutputStream(java.io.OutputStream out)
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream(java.io.InputStream in) throws java.io.IOException
- Specified by:
getInputStream
in interfaceCompression
- Throws:
java.io.IOException
-
getOutputStream
public java.io.OutputStream getOutputStream(java.io.OutputStream out) throws java.io.IOException
- Specified by:
getOutputStream
in interfaceCompression
- Throws:
java.io.IOException
-
addSuffix
public java.lang.String addSuffix(java.lang.String filename)
- Specified by:
addSuffix
in interfaceCompression
-
-