edu.udo.cs.yale.example
Class AbstractDataRowReader

java.lang.Object
  extended by edu.udo.cs.yale.example.AbstractDataRowReader
All Implemented Interfaces:
DataRowReader, java.util.Iterator<DataRow>
Direct Known Subclasses:
FileDataRowReader, RandomDataRowReader, ResultSetDataRowReader, SimpleArrayDataRowReader, SparseFormatDataRowReader, SPSSDataRowReader

public abstract class AbstractDataRowReader
extends java.lang.Object
implements DataRowReader

Reads a sequence of DataRows, e.g. from memory, a file or a database.

Version:
$Id: AbstractDataRowReader.java,v 2.7 2006/03/21 15:35:39 ingomierswa Exp $
Author:
Simon Fischer, Ingo Mierswa

Field Summary
private  DataRowFactory factory
           
 
Constructor Summary
AbstractDataRowReader(DataRowFactory factory)
           
 
Method Summary
 DataRowFactory getFactory()
           
 void remove()
          Will throw a new UnsupportedOperationException since DataRowReader does not have to implement remove.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next
 

Field Detail

factory

private DataRowFactory factory
Constructor Detail

AbstractDataRowReader

public AbstractDataRowReader(DataRowFactory factory)
Method Detail

getFactory

public DataRowFactory getFactory()

remove

public void remove()
Will throw a new UnsupportedOperationException since DataRowReader does not have to implement remove.

Specified by:
remove in interface java.util.Iterator<DataRow>



Copyright © 2001-2006