FileDocCategorySizeDatePackage
CharMode.javaAPI DocExample462Sun Feb 08 17:57:30 GMT 2004None

CharMode

public class CharMode extends Object
Read a file in character mode - maximally inefficient.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: CharMode.java,v 1.3 2004/02/08 23:57:29 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);
		}
		//-