|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.CompressionFilter
public class CompressionFilter
Provides a compression wrapper for an InputStream and OutputStream.
Nested Class Summary | |
---|---|
static class |
CompressionFilter.DeflaterOutputShell DeflaterOutputShell enforces the "end" call for the corresponding Deflater object. |
static class |
CompressionFilter.InflaterInputShell InflaterInputShell enforces the "end" call for the corresponding Inflater object. |
Constructor Summary | |
---|---|
CompressionFilter() |
Method Summary | |
---|---|
XmlElement |
getConfig() Determine the current configuration of the object. |
InputStream |
getInputStream(InputStream stream) Requests an InputStream that wraps the passed InputStream. |
OutputStream |
getOutputStream(OutputStream stream) Requests an OutputStream that wraps the passed OutputStream. |
void |
setConfig(XmlElement xml) Specify the configuration for the object. |
Constructor Detail |
---|
public CompressionFilter()
Method Detail |
---|
public InputStream getInputStream(InputStream stream)
getInputStream
in interface WrapperStreamFactory
stream
- the java.io.InputStream to be wrappedpublic OutputStream getOutputStream(OutputStream stream)
getOutputStream
in interface WrapperStreamFactory
stream
- the java.io.OutputStream to be wrappedpublic XmlElement getConfig()
getConfig
in interface XmlConfigurable
public void setConfig(XmlElement xml)
setConfig
in interface XmlConfigurable
xml
- the XML configuration for the objectIllegalStateException
- if the object is not in a state that allows the configuration to be set; for example, if the object has already been configured and cannot be reconfigured
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |