Constructor and Description |
---|
ReadFile(URL fileURL)
Constructor - Initialise the buffered Reader instance
|
Modifier and Type | Method and Description |
---|---|
String |
getNext()
This method gives the next available String (line from the file)
|
int |
getPointer()
Tells the position of the pointer in the file
|
boolean |
hasNext()
This method tells if next line is available to read
|
boolean |
read()
Reads the file and stores each line as a separate element in the ArrayList
|
public boolean read()
public boolean hasNext()
public String getNext()
public int getPointer()