Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package space.indica.StringInfo;
- import java.io.BufferedReader;
- import java.io.FileNotFoundException;
- import java.io.FileReader;
- import java.io.IOException;
- public class GetFile {
- String text = null;
- public GetFile() {
- try {
- BufferedReader file = new BufferedReader(new FileReader("input.txt"));
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- }
- if ((text = file.readLine()) != null) {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement