Guest User

Untitled

a guest
Nov 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. FileReader in = null;
  2. try {
  3. in = new FileReader(dir);
  4. BufferedReader br = new BufferedReader(in);
  5. String line;
  6. int lineNum = 1;
  7. while ((line = br.readLine()) != null) {
  8. verifyLine(line,lineNum);
  9. lineNum++;
  10. }
  11.  
  12. } catch (FileNotFoundException e) {
  13. e.printStackTrace();
  14. } catch (IOException e) {
  15. e.printStackTrace();
  16. }
Add Comment
Please, Sign In to add comment