Class CompressionFilter

java.lang.Object
com.tangosol.util.Base
com.tangosol.net.CompressionFilter
All Implemented Interfaces:
WrapperStreamFactory, XmlConfigurable

@Deprecated public class CompressionFilter extends Base implements WrapperStreamFactory, XmlConfigurable
Deprecated.
As of Coherence 3.7
Provides a compression wrapper for an InputStream and OutputStream.
Author:
cp 2002.08.20
  • Constructor Details

    • CompressionFilter

      public CompressionFilter()
      Deprecated.
  • Method Details

    • getInputStream

      public InputStream getInputStream(InputStream stream)
      Deprecated.
      Requests an InputStream that wraps the passed InputStream.
      Specified by:
      getInputStream in interface WrapperStreamFactory
      Parameters:
      stream - the java.io.InputStream to be wrapped
      Returns:
      an InputStream that delegates to ("wraps") the passed InputStream
    • getOutputStream

      public OutputStream getOutputStream(OutputStream stream)
      Deprecated.
      Requests an OutputStream that wraps the passed OutputStream.
      Specified by:
      getOutputStream in interface WrapperStreamFactory
      Parameters:
      stream - the java.io.OutputStream to be wrapped
      Returns:
      an OutputStream that delegates to ("wraps") the passed OutputStream
    • getConfig

      public XmlElement getConfig()
      Deprecated.
      Determine the current configuration of the object.
      Specified by:
      getConfig in interface XmlConfigurable
      Returns:
      the XML configuration or null
    • setConfig

      public void setConfig(XmlElement xml)
      Deprecated.
      Specify the configuration for the object.
      Specified by:
      setConfig in interface XmlConfigurable
      Parameters:
      xml - the XML configuration for the object
      Throws:
      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