Package org.apache.abdera.i18n.text.io
Class CompressionUtil
- java.lang.Object
-
- org.apache.abdera.i18n.text.io.CompressionUtil
-
public class CompressionUtil extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompressionUtil.CompressionCodec
-
Constructor Summary
Constructors Constructor Description CompressionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompressionUtil.CompressionCodec
getCodec(java.lang.String name)
static java.io.InputStream
getDecodingInputStream(java.io.InputStream in, java.lang.String ce)
static java.io.InputStream
getDecodingInputStream(java.io.InputStream in, CompressionUtil.CompressionCodec encoding)
static java.io.InputStream
getDecodingInputStream(java.io.InputStream in, CompressionUtil.CompressionCodec... encoding)
static java.io.OutputStream
getEncodedOutputStream(java.io.OutputStream out, CompressionUtil.CompressionCodec encoding)
static java.io.OutputStream
getEncodedOutputStream(java.io.OutputStream out, CompressionUtil.CompressionCodec... encodings)
static java.lang.String[]
splitAndTrim(java.lang.String value, java.lang.String delim, boolean unquote)
-
-
-
Method Detail
-
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
-
getDecodingInputStream
public static java.io.InputStream getDecodingInputStream(java.io.InputStream in, java.lang.String ce) throws java.io.IOException
- Throws:
java.io.IOException
-
splitAndTrim
public static java.lang.String[] splitAndTrim(java.lang.String value, java.lang.String delim, boolean unquote)
-
-