buildColumnDescriptionArray(String[] columns) Create meta-information from the first line of the "file" (actually stream)
that contains the names of the columns.
filterEvents(List events, String[] customFieldNames) Each derived class must implement this filter to convert the properties as set by the
reader into a common set of properties that will be used to create calendar events.
processLine(ColumnHeader[] columnDescriptionArray, int lineNumber, String[] columns) Split a line into a list of CSVReaderImportCell objects.
public void
setColumnHeaderToAtributeMapping(Map columnHeaderMap) Users of this class must define a map where the keys are the column headers
that will appear in the first line of the CSV file (stream) and the values
are the associated property names that the callback will receive.
Each derived class must implement this filter to convert the properties as set by the
reader into a common set of properties that will be used to create calendar events.
Notably, this filter must create a ScheduleImporterService.ACTUAL_TIMERANGE property
that will define the actual start time/date of the event.
Parameters: importStream - Parameters: customFieldNames - throws: ImportException -
Import a CSV file from a stream and callback on each row.
Parameters: stream - Stream of CSV (or other delimited data) Parameters: handler - Callback for each row.
processLine
protectedIterator processLine(ColumnHeader[] columnDescriptionArray, int lineNumber, String[] columns)(Code)
Split a line into a list of CSVReaderImportCell objects.
Parameters: columnDescriptionArray - Parameters: lineNumber - Parameters: columns -
setColumnHeaderToAtributeMapping
public void setColumnHeaderToAtributeMapping(Map columnHeaderMap)(Code)
Users of this class must define a map where the keys are the column headers
that will appear in the first line of the CSV file (stream) and the values
are the associated property names that the callback will receive.
Parameters: columnList -