Package com.veeva.vault.sdk.api.csv
Interface CsvHeaders
public interface CsvHeaders
The headers (column names) for CSV data.
Multiple headers with the same name are not supported, as each header is assumed to have a single, unique index.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of CSV headers.int
getColumnIndex
(String columnName) Returns the index of the given column name.
-
Method Details
-
getAllHeaders
Returns a list of CSV headers.- Returns:
- a list of CSV headers
-
getColumnIndex
Returns the index of the given column name.- Parameters:
columnName
- the column name. Cannot be null or empty.- Returns:
- the index of the specified column
-