Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileReader in = null;
- try {
- in = new FileReader(dir);
- BufferedReader br = new BufferedReader(in);
- String line;
- int lineNum = 1;
- while ((line = br.readLine()) != null) {
- verifyLine(line,lineNum);
- lineNum++;
- }
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
Add Comment
Please, Sign In to add comment