| Constructor and Description |
|---|
CsvReader(Reader reader)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<String> |
get()
Returns an object on the current source position.
|
boolean |
next()
Moves this source to the next object, and then returns
true
if and only if the next object exists. |
public CsvReader(Reader reader)
reader - the CSV sourcepublic boolean next()
throws IOException
Sourcetrue
if and only if the next object exists.next in interface Source<List<String>>true if the next object exists, otherwise falseIOException - if failed to move this cursorpublic List<String> get() throws IOException
Sourceget in interface Source<List<String>>IOException - if failed to load an object by I/O errorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.