org.apache.curator.framework.imps
Class GzipCompressionProvider
java.lang.Object
org.apache.curator.framework.imps.GzipCompressionProvider
- All Implemented Interfaces:
- CompressionProvider
public class GzipCompressionProvider
- extends Object
- implements CompressionProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GzipCompressionProvider
public GzipCompressionProvider()
compress
public byte[] compress(String path,
byte[] data)
throws Exception
- Specified by:
compress in interface CompressionProvider
- Throws:
Exception
decompress
public byte[] decompress(String path,
byte[] compressedData)
throws Exception
- Specified by:
decompress in interface CompressionProvider
- Throws:
Exception
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.