org.dbunit.dataset
Class DefaultTableIterator
java.lang.Object
org.dbunit.dataset.DefaultTableIterator
- All Implemented Interfaces:
- ITableIterator
public class DefaultTableIterator
- extends Object
- implements ITableIterator
- Since:
- Apr 5, 2003
- Version:
- $Revision: 741 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTableIterator
public DefaultTableIterator(ITable[] tables)
DefaultTableIterator
public DefaultTableIterator(ITable[] tables,
boolean reversed)
next
public boolean next()
throws DataSetException
- Description copied from interface:
ITableIterator
- Position this iterator to the next table. The iterator is initially
positioned before the first table; the first call to the method next
makes the first table the current table; the second call makes the
second table the current table, and so on.
- Specified by:
next
in interface ITableIterator
- Returns:
true
if the new current table is valid;
false
if there are no more table
- Throws:
DataSetException
getTableMetaData
public ITableMetaData getTableMetaData()
throws DataSetException
- Description copied from interface:
ITableIterator
- Returns the metadata of the current table.
- Specified by:
getTableMetaData
in interface ITableIterator
- Throws:
DataSetException
getTable
public ITable getTable()
throws DataSetException
- Description copied from interface:
ITableIterator
- Returns the current table.
- Specified by:
getTable
in interface ITableIterator
- Throws:
DataSetException
Copyright © 2002-2012. All Rights Reserved.