FileDocCategorySizeDatePackage
TestEOF.javaAPI DocExample2837Mon Apr 06 18:10:24 BST 1998None

TestEOF

public class TestEOF extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    try {
      DataInputStream in = 
        new DataInputStream(
         new BufferedInputStream(
          new FileInputStream("TestEof.java")));
      while(in.available() != 0)
        System.out.print((char)in.readByte());
    } catch (IOException e) {
      System.err.println("IOException");
    }