com.googlecode.webutilities.filters.compression
Class EncodedStreamsFactory
java.lang.Object
com.googlecode.webutilities.filters.compression.EncodedStreamsFactory
public abstract class EncodedStreamsFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPORTED_ENCODINGS
public static final Map<String,EncodedStreamsFactory> SUPPORTED_ENCODINGS
EncodedStreamsFactory
public EncodedStreamsFactory()
isRequestContentEncodingSupported
public static boolean isRequestContentEncodingSupported(String contentEncoding)
getFactoryForContentEncoding
public static EncodedStreamsFactory getFactoryForContentEncoding(String contentEncoding)
getCompressedStream
public abstract CompressedOutput getCompressedStream(OutputStream outputStream)
throws IOException
- Throws:
IOException
getCompressedStream
public abstract CompressedInput getCompressedStream(InputStream inputStream)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.