|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.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 WrapperStreamFactorystream - the java.io.InputStream to be wrapped
public OutputStream getOutputStream(OutputStream stream)
getOutputStream in interface WrapperStreamFactorystream - the java.io.OutputStream to be wrapped
public XmlElement getConfig()
getConfig in interface XmlConfigurablepublic void setConfig(XmlElement xml)
setConfig in interface XmlConfigurablexml - the XML configuration for the object
IllegalStateException - 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
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||