(1): 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20:
FileInputStream fis = nowy FileInputStream (dir); DataInputStream dataInputStream = nowy DataInputStream (fis); InputStreamReader inputStream = nowy InputStreamReader (dataInputStream); BufferedReader brreader = nowy BufferedReader (inputStream); podczas gdy ((linia = brreader.readLine ()) ! = null) { System.out.println ("---Linia---" + linia); //Do coś } jeżeli ((linia = brreader.readLine ()) == null) { }