FileDocCategorySizeDatePackage
Cat.javaAPI DocExample448Sat Jan 13 11:45:52 GMT 2001javasec.samples.ch04

Cat

public class Cat extends Object

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

        try {
            String s;
            FileReader fr = new FileReader(args[0]);
            BufferedReader br = new BufferedReader(fr);
            while ((s = br.readLine()) != null)
                System.out.println(s);
        } catch (Exception e) {
            System.out.println(e);
        }