CoherenceTM v3.3
Copyright© 2000-2007 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
 InputStream getInputStream(InputStream stream)
          Requests an InputStream that wraps the passed InputStream.
 OutputStream getOutputStream(OutputStream stream)
          Requests an OutputStream that wraps the passed OutputStream.
 

Method Detail

getInputStream

InputStream getInputStream(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

OutputStream getOutputStream(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.3
Copyright© 2000-2007 by Oracle Corporation