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.UnsupportedEncodingException
public boolean hasNext() throws IOException
next()
weiter.IOException
public String[] next() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2018. All rights reserved.