Fair warning! This mechanism of getting at the data opencsv delivers has limitations when used with the opencsv annotations. Locales and custom converters are not supported. Further features may or may not work.
| Modifier and Type | Field and Description |
|---|---|
| private Locale | errorLocale
Locale for all translations. |
| private String[] | |
| private final CSVReader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if the CSVIterator has more elements.Implements java. Returns true if the iteration has more elements. |
| public String[] | Returns: The next element of the iterator.Implements java. Returns the next element in the iterator. |
| public void | remove()
Overrides default java. This method is not supported by opencsv and will throw an
|
| public void | setErrorLocale(Locale
Locale for error messages. If null, the default locale
is used. errorLocale)Sets the locale for error messages. |
| errorLocale | back to summary |
|---|---|
| private Locale errorLocale Locale for all translations. | |
| nextLine | back to summary |
|---|---|
| private String[] nextLine | |
| reader | back to summary |
|---|---|
| private final CSVReader reader | |
| CSVIterator | back to summary |
|---|---|
public CSVIterator(CSVReader reader) throws IOException, CsvValidationException
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Returns true if the iteration has more elements.
In other words, returns true if
| |
| next | back to summary |
|---|---|
| public String[] next() Implements java. Returns the next element in the iterator. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. This method is not supported by opencsv and will throw an
| |
| setErrorLocale | back to summary |
|---|---|
| public void setErrorLocale(Locale errorLocale) Sets the locale for error messages.
| |