Package net.sf.jmatchparser.util.csv

Examples of net.sf.jmatchparser.util.csv.XMLCSVReader


   *            {@link Document} to parse
   * @param writers
   *            {@link AbstractCSVWriter}(s) to write the file(s) to
   */
  public static void convertDOMToCSV(Document doc, AbstractCSVWriter[] writers) throws IOException {
    XMLCSVReader r = new XMLCSVReader(doc);
    String[] record;
    int[] fileIndex = new int[1];
    while ((record = r.read(fileIndex)) != null) {
      writers[fileIndex[0]].write(record);
      fileIndex[0] = 0;
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.jmatchparser.util.csv.XMLCSVReader

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.