gov.nist.microanalysis.EPQLibrary
Class CSVReader
java.lang.Object
gov.nist.microanalysis.EPQLibrary.CSVReader
public class CSVReader
- extends java.lang.Object
A class for reading in *.csv files
Copyright: Pursuant to title 17 Section 105 of the United States Code this
software is not subject to copyright protection and is in the public domain
Company: National Institute of Standards and Technology
- Version:
- 1.0
- Author:
- Daniel "Ooblioob" Davis
|
Constructor Summary |
CSVReader(java.lang.String FileName,
boolean TrimZeros)
|
|
Method Summary |
double[][] |
getResource()
getResource - Reads in all data from the csv file and returns it to the
client. |
double[][] |
getResource(java.lang.Class clss)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVReader
public CSVReader(java.lang.String FileName,
boolean TrimZeros)
getResource
public double[][] getResource()
- getResource - Reads in all data from the csv file and returns it to the
client.
- Returns:
- double[][] - returns a 2-D array of doubles.
- Throws:
java.lang.Exception
getResource
public double[][] getResource(java.lang.Class clss)