org.jboss.dtf.testframework.utils
Class RemoteFileReader

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.jboss.dtf.testframework.utils.RemoteFileReader
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RemoteFileReaderInterface

public class RemoteFileReader
extends java.rmi.server.UnicastRemoteObject
implements RemoteFileReaderInterface

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteFileReader(java.io.File fileToBeRead)
           
 
Method Summary
 void close()
           
 java.lang.String readLine()
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteFileReader

public RemoteFileReader(java.io.File fileToBeRead)
                 throws java.io.IOException,
                        java.rmi.RemoteException
Throws:
java.io.IOException
java.rmi.RemoteException
Method Detail

readLine

public java.lang.String readLine()
                          throws java.rmi.RemoteException
Specified by:
readLine in interface RemoteFileReaderInterface
Throws:
java.rmi.RemoteException

close

public void close()
           throws java.io.IOException,
                  java.rmi.RemoteException
Specified by:
close in interface RemoteFileReaderInterface
Throws:
java.io.IOException
java.rmi.RemoteException