Class CSVReader

Object
CSVReader

public class CSVReader extends Object
Reads a CSV File from the file-system.
Author:
Owen Feehan
  • Constructor Details

    • CSVReader

      public CSVReader(String regularExpressionSeperator, boolean firstLineHeaders)
      Create, expecting unquoted strings.
      Parameters:
      regularExpressionSeperator - a regular-expression in Java syntax for splitting a line by separator.
      firstLineHeaders - whether the first line of the CSV file contains headers or not.
    • CSVReader

      public CSVReader(String regularExpressionSeperator, boolean firstLineHeaders, boolean quotedStrings)
      Creates a new CSVReader instance.
      Parameters:
      regularExpressionSeperator - A regular-expression in Java syntax for splitting a line by separator.
      firstLineHeaders - Whether the first line of the CSV file contains headers or not.
      quotedStrings - Whether strings should be quoted or not in the CSV file.
  • Method Details