Class LZ4Compression
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.LZ4Compression
-
- All Implemented Interfaces:
Compression
public class LZ4Compression extends 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 String
addSuffix(String filename)
InputStream
getInputStream(InputStream in)
OutputStream
getOutputStream(OutputStream out)
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream(InputStream in) throws IOException
- Specified by:
getInputStream
in interfaceCompression
- Throws:
IOException
-
getOutputStream
public OutputStream getOutputStream(OutputStream out) throws IOException
- Specified by:
getOutputStream
in interfaceCompression
- Throws:
IOException
-
addSuffix
public String addSuffix(String filename)
- Specified by:
addSuffix
in interfaceCompression
-
-