FileDocCategorySizeDatePackage
CharMode.javaAPI DocExample454Sat Nov 25 12:55:28 GMT 2000None

CharMode

public class CharMode extends Object
Read a file in character mode - maximally inefficient.
author
Ian F. Darwin, ian@darwinsys.com
version
$Id: CharMode.java,v 1.2 2000/11/25 17:55:28 ian Exp $

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

		//+
		BufferedReader is = new BufferedReader(
			new InputStreamReader(System.in));

		int c;
		while ((c=is.read()) != -1) {
			System.out.print((char)c);
		}
		//-