|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowReader
Common interface for those readers which get the data as
String [].
CSVReader,
JDBCReader| Method Summary | |
|---|---|
void |
close()
Closes the underlying reader. |
int |
getRow()
The row number for the current row. |
java.lang.String[] |
readNext()
Reads the next row as a string array. |
boolean |
reset()
Moves the reader to the beginning. |
| Method Detail |
|---|
boolean reset()
throws java.io.IOException
Restarts the reader.
true if the reader can be restarted,
false otherwise.
java.io.IOException - If bad things happen during the restart.
java.lang.String[] readNext()
throws java.io.IOException
java.io.IOException - If bad things happen during the read.
int getRow()
throws java.io.IOException
java.io.IOException - If it fails.
void close()
throws java.io.IOException
java.io.IOException - If the close fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||