org.dbunit.database
Class DatabaseTableIterator
java.lang.Object
org.dbunit.database.DatabaseTableIterator
- All Implemented Interfaces:
- ITableIterator
public class DatabaseTableIterator
- extends Object
- implements ITableIterator
- Since:
- Apr 12, 2003
- Version:
- $Revision: 554 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseTableIterator
public DatabaseTableIterator(String[] tableNames,
IDataSet dataSet)
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-2011. All Rights Reserved.