Interface CSV
- All Known Implementing Classes:
ViewEvaluation
public interface CSV
Interface for values that can be converted to a CSV row.
A row in comma separated value (CSV) tables consists of values, potentially quoted with double
quotes, and a delimiter between each value. Multiple rows are delimited by new lines and can be
generated using
toCSV(java.util.stream.Stream<? extends org.variantsync.diffdetective.util.CSV>)
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default delimiter for DiffDetective tables. -
Method Summary
Modifier and TypeMethodDescriptiondefault String
toCSV()
Convert this value into a CSV row using theDEFAULT_CSV_DELIMITER
.Convert this value into a CSV row using a custom CSVdelimiter
.static String
toCSV
(Collection<? extends CSV> collection) Convert acollection
of CSV values into a CSV table.static String
Convert acollection
of CSV values into a CSV table.
-
Field Details
-
DEFAULT_CSV_DELIMITER
The default delimiter for DiffDetective tables.- See Also:
-
-
Method Details
-
toCSV
Convert this value into a CSV row using theDEFAULT_CSV_DELIMITER
. -
toCSV
Convert this value into a CSV row using a custom CSVdelimiter
. -
toCSV
Convert acollection
of CSV values into a CSV table. Each value will become a single row in the resulting table. As new lineStringUtils.LINEBREAK
is used. -
toCSV
Convert acollection
of CSV values into a CSV table. Each value will become a single row in the resulting table. As new lineStringUtils.LINEBREAK
is used.
-