Package yearreview.app.util.csv
Class CSVReader
java.lang.Object
yearreview.app.util.csv.CSVReader
A CSVReader that can create a stream of rows of a CSV directly from the file.
Might output another Row after the CSV-file ends if it has an empty row at the bottom.
- Author:
- ColdStone37
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
AnIterator
for the Rows of a CSV loading the Data right from aBufferedReader
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRowStream
(File f) Creates A Stream of the rows of a CSV-file.
-
Constructor Details
-
CSVReader
public CSVReader()
-
-
Method Details
-
getRowStream
Creates A Stream of the rows of a CSV-file.- Parameters:
f
- file to parse- Returns:
- Stream of the rows
- Throws:
FileNotFoundException
- if the file was not found
-