com.atlassian.jira.imports.csv
Interface CsvProvider
- All Known Implementing Classes:
- MindProdCsvProvider
public interface CsvProvider
startSession
void startSession()
throws ImportException
- Throws:
ImportException
stopSession
void stopSession()
throws ImportException
- Throws:
ImportException
getHeaderLine
Collection getHeaderLine()
throws ImportException
- Throws:
ImportException
getNextLine
org.apache.commons.collections.MultiMap getNextLine()
throws ImportException
- Gets the next line as a Map. The Keys are either the Headers read from readHeaderLine or simply the values if
the mathod readHeaderLine() has not been invoked.
Returns null if there are no more lines
- Returns:
- Map of String - String value pairs
- Throws:
ImportException
getRestOfFile
List getRestOfFile()
throws ImportException
- Parses the rest of the FIle that has not been read.
- Returns:
- List of Maps of String - String value pairs
- Throws:
ImportException
getNextLineRaw
Collection getNextLineRaw()
throws ImportException
- Throws:
ImportException
readUniqueValues
SetMultiHashMap readUniqueValues(Collection headers)
throws ImportException
- Throws:
ImportException
Copyright © 2002-2008 Atlassian. All Rights Reserved.