import java.io.*;
public class cobaBaca {
public static void main(String[] args) throws FileNotFoundException, IOException {
Document test = new Document("coba1.txt");
test.baca();
String delimiter = "\t";
String temp[] = test.getTeks().split(delimiter);
for (int i = 0; i < temp.length; i++) {
System.out.println(temp[i]);
}
}
}
Tidak ada komentar:
Posting Komentar