Package com.tangosol.net
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.7Provides a compression wrapper for an InputStream and OutputStream.- Author:
- cp 2002.08.20
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompressionFilter.DeflaterOutputShell
Deprecated.DeflaterOutputShell enforces the "end" call for the corresponding Deflater object.static class
CompressionFilter.InflaterInputShell
Deprecated.InflaterInputShell enforces the "end" call for the corresponding Inflater object.-
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
-
Constructor Summary
Constructors Constructor Description CompressionFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description XmlElement
getConfig()
Deprecated.Determine the current configuration of the object.InputStream
getInputStream(InputStream stream)
Deprecated.Requests an InputStream that wraps the passed InputStream.OutputStream
getOutputStream(OutputStream stream)
Deprecated.Requests an OutputStream that wraps the passed OutputStream.void
setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.-
Methods inherited from class com.tangosol.util.Base
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
-
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream(InputStream stream)
Deprecated.Requests an InputStream that wraps the passed InputStream.- Specified by:
getInputStream
in interfaceWrapperStreamFactory
- 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 interfaceWrapperStreamFactory
- 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 interfaceXmlConfigurable
- Returns:
- the XML configuration or null
-
setConfig
public void setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.- Specified by:
setConfig
in interfaceXmlConfigurable
- 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
-
-