edu.turtlekit2.utils
Class TxtFileReader

java.lang.Object
  extended by edu.turtlekit2.utils.TxtFileReader

public final class TxtFileReader
extends Object

A simple class to parse a text file.

Version:
1.0 4/2010
Author:
G. Beurier

Constructor Summary
TxtFileReader()
           
 
Method Summary
static ArrayList<String> processLineByLine(String fileName)
          Return an arrayList of the lines of a text file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxtFileReader

public TxtFileReader()
Method Detail

processLineByLine

public static final ArrayList<String> processLineByLine(String fileName)
                                                 throws FileNotFoundException
Return an arrayList of the lines of a text file.

Parameters:
fileName - - the text file to parse
Returns:
- an arrayList of String
Throws:
FileNotFoundException