CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation

com.tangosol.io
Interface WrapperStreamFactory

All Known Implementing Classes:
AbstractEncryptionFilter, AsymmetricEncryptionFilter, ClusterEncryptionFilter, CompressionFilter, PasswordBasedEncryptionFilter, SymmetricEncryptionFilter

public interface WrapperStreamFactory

Provides the means to wrap an InputStream and OutputStream, such that functionality such as compression and encryption can be implemented in a layered, pluggable fashion.

Author:
cp 2002.08.19

Method Summary
 java.io.InputStream getInputStream(java.io.InputStream stream)
          Requests an InputStream that wraps the passed InputStream.
 java.io.OutputStream getOutputStream(java.io.OutputStream stream)
          Requests an OutputStream that wraps the passed OutputStream.
 

Method Detail

getInputStream

java.io.InputStream getInputStream(java.io.InputStream stream)
Requests an InputStream that wraps the passed InputStream.

Parameters:
stream - the java.io.InputStream to be wrapped
Returns:
an InputStream that delegates to ("wraps") the passed InputStream

getOutputStream

java.io.OutputStream getOutputStream(java.io.OutputStream stream)
Requests an OutputStream that wraps the passed OutputStream.

Parameters:
stream - the java.io.OutputStream to be wrapped
Returns:
an OutputStream that delegates to ("wraps") the passed OutputStream

CoherenceTM v3.4
Copyright© 2000-2008 by Oracle Corporation