public class LineByLineFileReader
extends java.lang.Object
Constructor and Description |
---|
LineByLineFileReader(java.io.File f)
Instantiates a new line by line file reader.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close.
|
java.lang.String |
getNextLine()
Gets the next line.
|
boolean |
hasNextLine()
Checks for next line.
|
public LineByLineFileReader(java.io.File f) throws java.lang.Exception
f
- the fjava.lang.Exception
- the exceptionpublic boolean hasNextLine() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic java.lang.String getNextLine()
public void close()