jtge.engine.io
Class FileInputConnector

java.lang.Object
  extended byjtge.engine.io.FileInputConnector
All Implemented Interfaces:
IConnector

public class FileInputConnector
extends java.lang.Object
implements IConnector

Implements a connector for reading from a file.

Version:
$Revision: 1.8 $ $Date: 2005/09/10 11:26:47 $
Author:
Mathieu Champlon

Constructor Summary
FileInputConnector(IInputOutputFactory factory, IConnectionObserver observer, java.lang.String filename)
          Create a file input handler.
 
Method Summary
 void open()
          Open the connector.

Whether this method is blocking or not depends on the implementation.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInputConnector

public FileInputConnector(IInputOutputFactory factory,
                          IConnectionObserver observer,
                          java.lang.String filename)
Create a file input handler.

Parameters:
factory - the input/output factory
observer - the connection observer
filename - the filename to open
Method Detail

open

public final void open()
Open the connector.

Whether this method is blocking or not depends on the implementation.

Specified by:
open in interface IConnector


Copyright © 2003-2005 . All Rights Reserved.