Class GenericCsvParser

java.lang.Object
io.deephaven.enterprise.niowrapper.csv.GenericCsvParser
Direct Known Subclasses:
GenericInMemoryCsvParser

public abstract class GenericCsvParser extends Object
Created by IntelliJ IDEA. User: dkent Date: Jun 11, 2007 Time: 9:12:45 AM

Abstract interface for generic CSV parsers.

  • Constructor Details

    • GenericCsvParser

      public GenericCsvParser()
  • Method Details

    • next

      public abstract GenericCsvParser.CsvDataLine next() throws IOException
      Gets the next line of data from the CSV file.
      Returns:
      next line of data from the CSV file.
      Throws:
      IOException - problem loading the data.
    • getColumnNames

      public abstract List<String> getColumnNames()
      Gets all of the labels for the columns loaded from the CSV file.
      Returns:
      all of the labels for the columns loaded from the CSV file.
    • setFromList

      protected static Set<String> setFromList(List<String> columnNames)
    • listFromSet

      protected static List<String> listFromSet(Set<String> columnNames)