Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private String setInput() throws IOException {
- for (Integer i = 1; i <= 1; i++) {
- in = new FileInputStream("/Users/Stu/nlp_texts/bus" + i.toString() +".txt");
- int c;
- buf = new StringBuffer();
- do {
- c = in.read();
- buf.append((char) c);
- } while (c != -1);
- }
- return fileString = buf.toString();
- }
Add Comment
Please, Sign In to add comment