public class CSVReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_QUOTE |
static char |
DEFAULT_SEPARATOR |
| Constructor and Description |
|---|
CSVReader(File file)
Instantiates a new CSV reader.
|
| Modifier and Type | Method and Description |
|---|---|
CSVFile |
getCsvFile()
Gets the csv file.
|
File |
getFile()
Gets the file.
|
static List<String> |
parseLine(String cvsLine)
Parses the line.
|
static List<String> |
parseLine(String cvsLine,
char separators)
Parses the line.
|
public static final char DEFAULT_SEPARATOR
public static final char DEFAULT_QUOTE
public CSVReader(File file) throws FileNotFoundException
file - the fileFileNotFoundException - the file not found exceptionpublic static List<String> parseLine(String cvsLine)
cvsLine - the cvs linepublic static List<String> parseLine(String cvsLine, char separators)
cvsLine - the cvs lineseparators - the separatorspublic CSVFile getCsvFile()
public File getFile()
Copyright © 2020. All Rights Reserved.