edu.jhu.bme.smile.commons.textfiles
Class TextFileReader

java.lang.Object
  extended by edu.jhu.bme.smile.commons.textfiles.TextFileReader

public class TextFileReader
extends java.lang.Object


Constructor Summary
TextFileReader(java.io.File fp)
           
TextFileReader(java.io.File fp, java.lang.String delim)
           
 
Method Summary
 int countLines()
           
 double[][] parseDoubleFile()
           
 float[][] parseFloatFile()
           
 int[][] parseIntFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFileReader

public TextFileReader(java.io.File fp)

TextFileReader

public TextFileReader(java.io.File fp,
                      java.lang.String delim)
Method Detail

countLines

public int countLines()
               throws java.io.IOException
Throws:
java.io.IOException

parseFloatFile

public float[][] parseFloatFile()
                         throws java.io.IOException
Throws:
java.io.IOException

parseIntFile

public int[][] parseIntFile()
                     throws java.io.IOException
Throws:
java.io.IOException

parseDoubleFile

public double[][] parseDoubleFile()
                           throws java.io.IOException
Throws:
java.io.IOException