Package com.veeva.vault.sdk.api.csv
Interface CsvBuilder
public interface CsvBuilder
Builds
CsvData
.-
Method Summary
Modifier and TypeMethodDescriptionAdds a row of values to the CSV data.Adds a row of values to the CSV data.build()
Builds and returns the CSV data.
-
Method Details
-
addRow
Adds a row of values to the CSV data.- Parameters:
row
- the row to add. Cannot be null.- Returns:
- the current builder
-
addRow
Adds a row of values to the CSV data.- Parameters:
values
- a list of values to add; all instances must be of a type defined byCsvValueType
. Cannot be null.- Returns:
- the current builder
-
build
CsvData build()Builds and returns the CSV data.You may continue to use the builder after this is called, but any previously added rows are cleared out.
- Returns:
- the built
CsvData
-