ich will BufferedReader durch
String file = "richtiger Inhalt ersetzen, "; kann jemand mich helfen?
Danke
String file = "richtiger Inhalt ersetzen, "; kann jemand mich helfen?
Code:
import java.io.*;
import java.util.HashMap;
public class test1 {
public static void main(String[] args) throws IOException {
File dir = new File("D:/phd_2/blast/recombinant");
File[] files = dir.listFiles();
String[] temp = null;
for (File f: files) {
BufferedReader in = new BufferedReader(new FileReader(f));
String line = null;
while ((line = in.readLine()) != null) {
temp = line.split(" ");
.................
if (line.trim().length() == 0) {
continue;
}//if
........................
}//while
}// for
}//void
}//class