Class CSVParser

java.lang.Object
org.drip.feed.loader.CSVParser

public class CSVParser
extends java.lang.Object
CSVParser Parses the Lines of a Comma Separated File into appropriate Data Types.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    CSVParser()  
  • Method Summary

    Modifier and Type Method Description
    static CSVGrid NamedStringGrid​(java.lang.String strCSVFile)
    Parse the Contents of the CSV File into a List of Named String Arrays
    static CSVGrid StringGrid​(java.lang.String strCSVFile, boolean bIgnoreHeader)
    Parse the Contents of the CSV File into a List of String Arrays

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CSVParser

      public CSVParser()
  • Method Details

    • StringGrid

      public static final CSVGrid StringGrid​(java.lang.String strCSVFile, boolean bIgnoreHeader)
      Parse the Contents of the CSV File into a List of String Arrays
      Parameters:
      strCSVFile - The CSV File
      bIgnoreHeader - TRUE - Ignore the Leading Row as a Header
      Returns:
      List of String Arrays
    • NamedStringGrid

      public static final CSVGrid NamedStringGrid​(java.lang.String strCSVFile)
      Parse the Contents of the CSV File into a List of Named String Arrays
      Parameters:
      strCSVFile - The CSV File
      Returns:
      List of String Arrays