org.elasticsearch.common.compress.lzf
Class LZF
java.lang.Object
org.elasticsearch.common.compress.lzf.LZF
public class LZF
- extends java.lang.Object
Simple command-line utility that can be used for testing LZF
compression, or as rudimentary command-line tool.
Arguments are the same as used by the "standard" lzf command line tool
Field Summary |
static java.lang.String |
SUFFIX
|
Constructor Summary |
LZF()
|
Method Summary |
static boolean |
isCompressed(byte[] buffer)
|
static boolean |
isCompressed(byte[] buffer,
int offset,
int length)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUFFIX
public static final java.lang.String SUFFIX
- See Also:
- Constant Field Values
LZF
public LZF()
isCompressed
public static boolean isCompressed(byte[] buffer)
isCompressed
public static boolean isCompressed(byte[] buffer,
int offset,
int length)
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException