|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.csvman.in.BasicCsvLoader
Internal Class; provides basic implementation of CsvLoader.
| Nested Class Summary | |
static class |
BasicCsvLoader.LoaderLineListener
Internal Class; stores most recent data line. |
| Constructor Summary | |
BasicCsvLoader(CsvParser pCsvParser,
CsvSpec pCsvSpec,
Reader pReader)
Create a new instance based on a CsvParser instance. |
|
| Method Summary | |
void |
begin()
Initialise the parser. |
void |
end()
Close reader if close-inputstream is true. |
boolean |
hasNext()
Load a line of data and store it for retrieval with next(). |
String[] |
next()
Get the next line of data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicCsvLoader(CsvParser pCsvParser,
CsvSpec pCsvSpec,
Reader pReader)
CsvParser instance.
| Method Detail |
public void begin()
begin in interface CsvLoaderpublic boolean hasNext()
next().
hasNext in interface CsvLoaderpublic String[] next()
next in interface CsvLoaderpublic void end()
close-inputstream is true.
end in interface CsvLoader
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||