jtge.engine.io
Interface IInputOutputImpFactory

All Known Implementing Classes:
ObjectInputOutputFactory, XStreamInputOutputFactory

public interface IInputOutputImpFactory

Defines a factory for creating input and output implementations.

Version:
$Revision: 1.2 $ $Date: 2005/08/26 18:09:36 $
Author:
Mathieu Champlon

Method Summary
 IInputImp create(java.io.InputStream stream)
          Wrap a stream within an input implementation.
 IOutputImp create(java.io.OutputStream stream)
          Wrap a stream within an output implementation.
 

Method Detail

create

public IInputImp create(java.io.InputStream stream)
Wrap a stream within an input implementation.

Parameters:
stream - the input stream to wrap
Returns:
a new input implementation

create

public IOutputImp create(java.io.OutputStream stream)
Wrap a stream within an output implementation.

Parameters:
stream - the output stream to wrap
Returns:
a new output implementation


Copyright © 2003-2005 . All Rights Reserved.