|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.util.csv.opencsv.CSVIterator
public class CSVIterator
Provides an Iterator over the data found in opencsv.
Constructor Summary | |
---|---|
CSVIterator(CSVReader reader)
|
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
String[] |
next()
Returns the next elenebt in the iterator. |
void |
remove()
This method is not supported by openCSV and will throw a UnsupportedOperationException if called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVIterator(CSVReader reader) throws IOException
reader
- reader for the csv data.
IOException
- if unable to read data from the reader.Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<String[]>
public String[] next()
next
in interface Iterator<String[]>
public void remove()
remove
in interface Iterator<String[]>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |