SyntaxFix
Write A Post
Hire A Developer
Questions
With text files, maybe the EOF is -1 when using BufferReader.read(), char by char. I made a test with BufferReader.readLine()!=null and it worked properly.