org.psychomad.waw
Class DataFileParser

java.lang.Object
  extended by org.psychomad.waw.DataFileParser

public class DataFileParser
extends java.lang.Object


Constructor Summary
DataFileParser()
           
 
Method Summary
static Point[] parseDataFile(java.lang.String path)
          This method parse a file an return a array of double corresponding to the values read in the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFileParser

public DataFileParser()
Method Detail

parseDataFile

public static Point[] parseDataFile(java.lang.String path)
This method parse a file an return a array of double corresponding to the values read in the file. This values represent a function. The file is a succession of points x y. A verification is made to verify that values are in order according to the abscisse value.

Parameters:
path - the path to the file to be parse.
Returns:
the array of points corresponding to the values read in the file, or null if an error occured.


Copyright © 2006. All Rights Reserved.