jtge.engine.io
Class ObjectInputOutputFactory

java.lang.Object
  extended byjtge.engine.io.ObjectInputOutputFactory
All Implemented Interfaces:
IInputOutputImpFactory

public class ObjectInputOutputFactory
extends java.lang.Object
implements IInputOutputImpFactory

Implements an input-output implementation factory based on object serialization.

Version:
$Revision: 1.4 $ $Date: 2005/08/26 18:09:36 $
Author:
Mathieu Champlon
See Also:
Object Serialization

Constructor Summary
ObjectInputOutputFactory()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInputOutputFactory

public ObjectInputOutputFactory()
Method Detail

create

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

Specified by:
create in interface IInputOutputImpFactory
Parameters:
stream - the input stream to wrap
Returns:
a new input implementation

create

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

Specified by:
create in interface IInputOutputImpFactory
Parameters:
stream - the output stream to wrap
Returns:
a new output implementation


Copyright © 2003-2005 . All Rights Reserved.