public interface CompressionStrategy
CompressionStrategy
is a base interface for Different compression
strategiesModifier and Type | Field and Description |
---|---|
static String |
COMPRESSION_DEFAULT
The fully qualified class name of the fallback
CompressionStrategy implementation class to use, if no other
can be found. |
static String |
SERVICE_ID
JDK1.3+ 'Service Provider' specification (
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html )
|
Modifier and Type | Method and Description |
---|---|
byte[] |
compressByteArray(byte[] bytes) |
boolean |
isCompressed(byte[] bytes) |
byte[] |
uncompressByteArray(byte[] bytes) |
static final String COMPRESSION_DEFAULT
CompressionStrategy
implementation class to use, if no other
can be found. the default is
org.mule.util.compression.GZipCompression
static final String SERVICE_ID
byte[] compressByteArray(byte[] bytes) throws IOException
IOException
byte[] uncompressByteArray(byte[] bytes) throws IOException
IOException
boolean isCompressed(byte[] bytes) throws IOException
IOException
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.