org.apache.abdera.util
Class CompressionUtil
java.lang.Object
org.apache.abdera.util.CompressionUtil
public class CompressionUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressionUtil
public CompressionUtil()
getCodec
public static CompressionUtil.CompressionCodec getCodec(java.lang.String name)
getEncodedOutputStream
public static java.io.OutputStream getEncodedOutputStream(java.io.OutputStream out,
CompressionUtil.CompressionCodec encoding)
throws java.io.IOException
- Throws:
java.io.IOException
getEncodedOutputStream
public static java.io.OutputStream getEncodedOutputStream(java.io.OutputStream out,
CompressionUtil.CompressionCodec... encodings)
throws java.io.IOException
- Throws:
java.io.IOException
getDecodingInputStream
public static java.io.InputStream getDecodingInputStream(java.io.InputStream in,
CompressionUtil.CompressionCodec encoding)
throws java.io.IOException
- Throws:
java.io.IOException
getDecodingInputStream
public static java.io.InputStream getDecodingInputStream(java.io.InputStream in,
CompressionUtil.CompressionCodec... encoding)
throws java.io.IOException
- Throws:
java.io.IOException