|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataDriver
This interface is used to implement different ways to get data from a source. Some examples might be a database, an xml file or even an Excel spreadsheet (besides just using a CSV file).
Method Summary | |
---|---|
void |
close()
Closes the handle to the data source |
Map |
getNextRow()
Gets the next row from the data source |
boolean |
hasMoreRows()
Tells whether the data source has another row |
void |
open()
Opens the handle to the data source |
Method Detail |
---|
void open() throws IOException
IOException
- when the data source can not be found.void close()
Map getNextRow()
boolean hasMoreRows()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |