com.rapidminer.gui.tools.dialogs.wizards.dataimport.csv
Class CSVFileReader
java.lang.Object
com.rapidminer.gui.tools.dialogs.wizards.dataimport.csv.CSVFileReader
public class CSVFileReader
- extends java.lang.Object
A helper class for reading CSV files
- Author:
- Tobias Malbrecht
|
Constructor Summary |
CSVFileReader(java.io.File file,
boolean useFirstRowAsColumnNames,
LineParser parser,
java.text.NumberFormat numberFormat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVFileReader
public CSVFileReader(java.io.File file,
boolean useFirstRowAsColumnNames,
LineParser parser,
java.text.NumberFormat numberFormat)
readData
public java.util.LinkedList<java.lang.String[]> readData(int maxLines)
throws java.io.IOException
- Throws:
java.io.IOException
getMetaData
public MetaData getMetaData()
throws java.io.IOException
- Throws:
java.io.IOException
createExampleSet
public ExampleSet createExampleSet()
throws java.io.IOException
- Throws:
java.io.IOException
getDataReader
public java.util.Iterator<java.lang.String[]> getDataReader()
throws java.io.IOException
- Throws:
java.io.IOException
getDataRowReader
public DataRowReader getDataRowReader(java.util.List<Attribute> attributeList)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2009 by Rapid-I