Modifier and Type | Method and Description |
---|---|
static ReadByLine |
open(Path filePath)
Opens a CSV file for reading.
|
static ReadByLine |
open(Path filePath,
String regularExpressionSeperator,
boolean firstLineHeaders)
Opens a CSV file for reading.
|
static ReadByLine |
open(Path filePath,
String regularExpressionSeperator,
boolean firstLineHeaders,
boolean quotedStrings)
Opens a CSV file for reading.
|
public static ReadByLine open(Path filePath)
filePath
- the path of the CSV file that will be opened.filePath
.public static ReadByLine open(Path filePath, String regularExpressionSeperator, boolean firstLineHeaders)
filePath
- the path of the CSV file that will be opened.regularExpressionSeperator
- a regular-expression in Java syntax for splitting a line by
separator.firstLineHeaders
- whether the first line of the CSV file contains headers or not.filePath
.public static ReadByLine open(Path filePath, String regularExpressionSeperator, boolean firstLineHeaders, boolean quotedStrings)
filePath
- the path of the CSV file that will be opened.regularExpressionSeperator
- a regular-expression in Java syntax for splitting a line by
separator.firstLineHeaders
- whether the first line of the CSV file contains headers or not.quotedStrings
- whether strings should be quoted or not in the CSV file.filePath
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.