public class ListCSV extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<CsvRow> |
listCSV(Path file,
char... separators) |
static List<CsvRow> |
listCSV(Path file,
long skip,
char... separators) |
static List<CsvRow> |
listCSV(Path file,
long skip,
Charset charset,
boolean unzip,
boolean autoSep,
char... separators) |
static List<CsvRow> |
listCSV(Path file,
long skip,
Charset charset,
boolean unzip,
char... separators) |
static List<CsvRow> |
listCSV(Path file,
long skip,
Charset charset,
char... separators) |
public static List<CsvRow> listCSV(Path file, char... separators)
file - the path to the file - or path to a resourceseparators - column split parameter (no regex)CsvRow from the file as a Listpublic static List<CsvRow> listCSV(Path file, long skip, char... separators)
file - the path to the file - or path to a resourceskip - lines to skip while reading csvseparators - column split parameter (no regex)CsvRow from the file as a Listpublic static List<CsvRow> listCSV(Path file, long skip, Charset charset, char... separators)
file - The path to the file - or path to a resourceskip - lines to skip while reading csvcharset - The charset to use for decoding the CSV fileseparators - Splits the CSV rows at the given separator CsvRow from the file as a Listpublic static List<CsvRow> listCSV(Path file, long skip, Charset charset, boolean unzip, char... separators)
file - The path to the file - or path to a resourceskip - lines to skip while reading csvcharset - The charset to use for decoding the CSV fileunzip - On true detects and unzips the CSV file automaticallyseparators - Splits the CSV rows at the given separator CsvRow from the file as a Listpublic static List<CsvRow> listCSV(Path file, long skip, Charset charset, boolean unzip, boolean autoSep, char... separators)
file - The path to the file - or path to a resourceskip - lines to skip while reading csvcharset - The charset to use for decoding the CSV fileunzip - On true detects and unzips the CSV file automaticallyautoSep - On true detects the separator automaticallyseparators - Splits the CSV rows at the given separator CsvRow from the file as a ListCopyright © 2023. All rights reserved.