|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.io.compress.zlib.ZlibFactory
public class ZlibFactory
A collection of factories to create the right zlib/gzip compressor/decompressor instances.
Constructor Summary | |
---|---|
ZlibFactory()
|
Method Summary | |
---|---|
static Compressor |
getZlibCompressor()
Return the appropriate implementation of the zlib compressor. |
static Decompressor |
getZlibDecompressor()
Return the appropriate implementation of the zlib decompressor. |
static boolean |
isNativeZlibLoaded()
Check if native-zlib code is loaded and initialized correctly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZlibFactory()
Method Detail |
---|
public static boolean isNativeZlibLoaded()
true
if native-zlib is loaded and initialized,
else false
public static Compressor getZlibCompressor()
public static Decompressor getZlibDecompressor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |