com.atlassian.jira.imports.csv
Interface CsvProvider
- All Known Implementing Classes:
- MindProdCsvProvider
- public interface CsvProvider
startSession
public void startSession()
throws CsvImportException
- Throws:
CsvImportException
stopSession
public void stopSession()
throws CsvImportException
- Throws:
CsvImportException
getHeaderLine
public java.util.Collection getHeaderLine()
throws CsvImportException
- Throws:
CsvImportException
getNextLine
public org.apache.commons.collections.MultiMap getNextLine()
throws CsvImportException
- 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:
CsvImportException
getRestOfFile
public java.util.List getRestOfFile()
throws CsvImportException
- Parses the rest of the FIle that has not been read.
- Returns:
- List of Maps of String - String value pairs
- Throws:
CsvImportException
getNextLineRaw
public java.util.Collection getNextLineRaw()
throws CsvImportException
- Throws:
CsvImportException
readUniqueValues
public SetMultiHashMap readUniqueValues(java.util.Collection headers)
throws CsvImportException
- Throws:
CsvImportException
Copyright © 2002-2005 Atlassian. All Rights Reserved.