Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. private void read(File theFile) throws IOException,DotException{
  2. FileReader x = new FileReader(theFile);
  3. BufferedReader y = new BufferedReader(x);
  4. DotReader z = new DotReader(y);
  5. Dot dot;
  6. do {
  7. dot = z.readDot();
  8. addDot(dot);
  9. }while(dot != null);
  10. y.close();
  11. x.close();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement