Advertisement
popatop15

Untitled

Aug 9th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. package space.indica.StringInfo;
  2.  
  3. import java.io.BufferedReader;
  4. import java.io.FileNotFoundException;
  5. import java.io.FileReader;
  6. import java.io.IOException;
  7.  
  8. public class GetFile {
  9.  
  10. String text = null;
  11.  
  12. public GetFile() {
  13.  
  14. try {
  15. BufferedReader file = new BufferedReader(new FileReader("input.txt"));
  16. } catch (FileNotFoundException e) {
  17. e.printStackTrace();
  18. }
  19. if ((text = file.readLine()) != null) {
  20.  
  21.  
  22.  
  23. }
  24.  
  25. }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement