| Package | Description |
|---|---|
| com.opengamma.strata.collect.io |
Provides utilities for the management of input and output.
|
| Modifier and Type | Method and Description |
|---|---|
static CsvFile |
CsvFile.of(CharSource source,
boolean headerRow)
Parses the specified source as a CSV file, using a comma as the separator.
|
static CsvFile |
CsvFile.of(CharSource source,
boolean headerRow,
char separator)
Parses the specified source as a CSV file where the separator is specified and might not be a comma.
|
static CsvFile |
CsvFile.of(List<String> headers,
List<? extends List<String>> rows)
Obtains an instance from a list of headers and rows.
|
static CsvFile |
CsvFile.of(Reader reader,
boolean headerRow)
Parses the specified reader as a CSV file, using a comma as the separator.
|
static CsvFile |
CsvFile.of(Reader reader,
boolean headerRow,
char separator)
Parses the specified reader as a CSV file where the separator is specified and might not be a comma.
|
CsvFile |
CsvFile.withHeaders(List<String> headers)
Returns an instance with the specified headers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CsvOutput.writeCsvFile(CsvFile file,
boolean alwaysQuote)
Writes the provided
CsvFile to the underlying. |
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.