public class CSVFile extends Object
| Constructor | Description |
|---|---|
CSVFile(InputStream file) |
ct.
|
CSVFile(InputStream file,
String separator) |
ct.
|
CSVFile(InputStream file,
String separator,
String encoding) |
ct.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Schliesst die CSV-Datei.
|
boolean |
hasNext() |
Prueft, ob weitere Zeilen vorhanden sind.
|
String[] |
next() |
Liefert die naechste Zeile der Datei.
|
public CSVFile(InputStream file)
file - die CSV-Datei.public CSVFile(InputStream file, String separator)
file - die CSV-Datei.separator - Trennzeichen.public CSVFile(InputStream file, String separator, String encoding) throws UnsupportedEncodingException
file - die CSV-Datei.separator - Trennzeichen.encoding - das Encoding.UnsupportedEncodingExceptionpublic boolean hasNext()
throws IOException
next()
weiter.IOExceptionpublic String[] next() throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2018. All rights reserved.