All pastes #994719 Raw Edit

liste

public text v1 · immutable
#994719 ·published 2008-04-23 16:41 UTC
rendered paste body
import java.io.*;
/**
 * Die Klasse Liste soll einen text einlesen und als einzelne Strings ausgeben.
 */
public class Liste {
     public static String liste()throws Exception {
    FileInputStream stream = new FileInputStream ("test.tex");
    InputStreamReader reader = new InputStreamReader (stream);
    String wort = "";
    for (int c; (c = stream.read() ) !=-1;){
        reader.read();
    String isLetter;
}
return wort;
}}