org.jscience.physics.nuclear.kinematics
Class NumericTextFileReader

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.NumericTextFileReader

public class NumericTextFileReader
extends java.lang.Object

Simple class to encapsulate reading text files containing only numbers. No formatting other than numbers separated by whitespace is assumed. It is up to the user to interpret the numbers read properly.


Constructor Summary
NumericTextFileReader(java.io.File input)
          Creates new NumericTextFileReader
 
Method Summary
 int getSize()
          DOCUMENT ME!
 double read()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericTextFileReader

public NumericTextFileReader(java.io.File input)
Creates new NumericTextFileReader

Method Detail

getSize

public int getSize()
DOCUMENT ME!

Returns:
DOCUMENT ME!

read

public double read()
DOCUMENT ME!

Returns:
DOCUMENT ME!