edu.turtlekit2.utils
Class TxtFileReader
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxtFileReader
public TxtFileReader()
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