4 public class textstats
{
6 public static void main(String
[] Args
) {
7 File file
= new File("lipsum.txt");
11 FileInputStream fis
= new FileInputStream(file
);
12 BufferedInputStream bis
= new BufferedInputStream(fis
);
13 //DataInputStream dis = new DataInputStream(bis);
14 Scanner sc
= new Scanner(bis
);
16 while (sc
.hasNext()) {
17 //System.out.println(dis.readLine());
18 System
.out
.println(sc
.next());
25 } catch(Exception e
) {
This page took 0.265894 seconds and 4 git commands to generate.