I currently have a working parser. It parses a file once(not what I want it to do) and then outputs parsed data into a file. I need it to keep parsing and appending to the s
If you are using FileInputStream, here's an EOF method for a class that has a FileInputStream member called fis.
FileInputStream
fis
public boolean isEOF() { try { return fis.getChannel().position() >= fis.getChannel().size()-1; } catch (IOException e) { return true; } }