org.apache.oozie.compression
Interface CompressionCodec

All Known Implementing Classes:
GzipCompressionCodec

public interface CompressionCodec


Method Summary
 byte[] compressBytes(byte[] header, byte[] data)
           
 byte[] compressString(byte[] header, String data)
           
 byte[] decompressToBytes(DataInputStream dais)
           
 String decompressToString(DataInputStream dais)
           
 

Method Detail

compressBytes

byte[] compressBytes(byte[] header,
                     byte[] data)
                     throws IOException
Throws:
IOException

compressString

byte[] compressString(byte[] header,
                      String data)
                      throws IOException
Throws:
IOException

decompressToString

String decompressToString(DataInputStream dais)
                          throws IOException
Throws:
IOException

decompressToBytes

byte[] decompressToBytes(DataInputStream dais)
                         throws IOException
Throws:
IOException


Copyright © 2015 Apache Software Foundation. All Rights Reserved.