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
FieldsModifier and TypeFieldDescriptionstatic final StringThe default delimiter for DiffDetective tables. -
Method Summary
Modifier and TypeMethodDescriptiondefault StringtoCSV()Convert this value into a CSV row using theDEFAULT_CSV_DELIMITER.Convert this value into a CSV row using a custom CSVdelimiter.static StringtoCSV(Collection<? extends CSV> collection) Convert acollectionof CSV values into a CSV table.static StringConvert acollectionof 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 acollectionof CSV values into a CSV table. Each value will become a single row in the resulting table. As new lineStringUtils.LINEBREAKis used. -
toCSV
Convert acollectionof CSV values into a CSV table. Each value will become a single row in the resulting table. As new lineStringUtils.LINEBREAKis used.
-