jas.io
Class CSVFileDataReader
java.lang.Object
jas.io.DataFileReader
jas.io.CSVFileDataReader
public class CSVFileDataReader
- extends DataFileReader
A reader for Comma Separated Value formatted files.
Title: JAS
Description: Java Agent-based Simulation library
Copyright: Copyright (C) 2002 Michele Sonnessa
Company:
- Author:
- Michele Sonnessa
Methods inherited from class jas.io.DataFileReader |
getBool, getBool, getDbl, getDbl, getFlt, getFlt, getInt, getInt, getLng, getLng, getStr, getStr, isFilteringNullFields |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SEPARATION_CHAR
public static final char DEFAULT_SEPARATION_CHAR
- See Also:
- Constant Field Values
CSVFileDataReader
public CSVFileDataReader(java.io.File sourceFile)
CSVFileDataReader
public CSVFileDataReader(java.io.File sourceFile,
boolean filterNullFields)
CSVFileDataReader
public CSVFileDataReader(java.io.File sourceFile,
boolean filterNullFields,
char separationChar)
CSVFileDataReader
public CSVFileDataReader(java.io.File sourceFile,
char separationChar)
CSVFileDataReader
public CSVFileDataReader(java.lang.String fileName)
CSVFileDataReader
public CSVFileDataReader(java.lang.String fileName,
boolean filterNullFields)
CSVFileDataReader
public CSVFileDataReader(java.lang.String fileName,
boolean filterNullFields,
char separationChar)
CSVFileDataReader
public CSVFileDataReader(java.lang.String fileName,
char separationChar)
close
public void close()
- Specified by:
close
in class DataFileReader
eof
public boolean eof()
- Specified by:
eof
in class DataFileReader
moveNext
public boolean moveNext()
- Specified by:
moveNext
in class DataFileReader
openFile
public void openFile(java.io.File sourceFile)
openFile
public void openFile(java.lang.String fileName)
readStructure
public void readStructure()
- Specified by:
readStructure
in class DataFileReader