jtge.engine.io
Interface IInputOutputFactory

All Known Implementing Classes:
InputOutputFactory, UserInputOutputFactory

public interface IInputOutputFactory

Defines a factory for creating inputs and outputs.

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

Method Summary
 IInput create(java.io.InputStream stream)
          Wrap a stream within an input.
 IOutput create(java.io.OutputStream stream)
          Wrap a stream within an output.
 

Method Detail

create

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

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

create

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

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


Copyright © 2003-2005 . All Rights Reserved.