jtge.engine.io
Class XStreamInputOutputFactory

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

public class XStreamInputOutputFactory
extends java.lang.Object
implements IInputOutputImpFactory

Implements an input-output implementation factory based on the XStream library.

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

Constructor Summary
XStreamInputOutputFactory()
           
 
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

XStreamInputOutputFactory

public XStreamInputOutputFactory()
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.