com.ibm.ccd.ui.portlets.search.core
Class CSVParser

java.lang.Object
  extended by com.ibm.ccd.ui.portlets.search.core.CSVParser

public class CSVParser
extends java.lang.Object

This class is used to parse the CSV text with specified delimiters. The delimiters are are user defined.


Constructor Summary
CSVParser()
           
 
Method Summary
 java.util.ArrayList getMetaDataList(java.lang.String metaData)
          This method returns the metaDataList for the ResultData
 ResultData parse(java.lang.String xmlString)
          This method parses the CSV text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVParser

public CSVParser()
Method Detail

parse

public ResultData parse(java.lang.String xmlString)
                 throws UIException
This method parses the CSV text

Parameters:
xmlString - is parsed to get the desired CSV text
Returns:
ResultData object
Throws:
UIException

getMetaDataList

public java.util.ArrayList getMetaDataList(java.lang.String metaData)
This method returns the metaDataList for the ResultData

Parameters:
metaData - metaDataString used for creating the table headings.
Returns:
metaDataList