idl.tmt.representation.matrix
Class GenericFileReader

java.lang.Object
  |
  +--idl.tmt.representation.matrix.GenericFileReader

public class GenericFileReader
extends java.lang.Object

Reads the contents of a file on disk, one line at a time

Author:
miles

Field Summary
(package private)  java.io.RandomAccessFile file
           
(package private)  java.lang.String line
           
(package private)  long pos
           
 
Constructor Summary
GenericFileReader(java.lang.String fileName)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.String next()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

file

java.io.RandomAccessFile file

pos

long pos

line

java.lang.String line
Constructor Detail

GenericFileReader

public GenericFileReader(java.lang.String fileName)
Method Detail

hasNext

public boolean hasNext()

next

public java.lang.String next()