Package org.dbcooper.io

Examples of org.dbcooper.io.CsvParser


  private ITable getCsvTable() {
    return new CsvTable("table1", new ClassPathResource("CsvTableTest.csv", getClass()));
  }

  private ITable getCustomCsvTable() {
    return new CsvTable(new CsvParser("\"'", '|'), "table1", new ClassPathResource("CsvTableTest.txt", getClass()));
  }
View Full Code Here


   * Creates a new <code>CsvTable</code> using default CSV parsing, with the given name, from the given resource.
   * @param tableName The name to give this table.
   * @param inputStreamSource The resource to obtain data from.
   */
  public CsvTable(String tableName, InputStreamSource inputStreamSource) {
    this(new CsvParser(), tableName, inputStreamSource);
  }
View Full Code Here

TOP

Related Classes of org.dbcooper.io.CsvParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.