Class Stdin

java.lang.Object
  |
  +--Stdin

public class Stdin
extends java.lang.Object


Field Summary
private static java.io.BufferedReader in
          User input stream
 
Constructor Summary
Stdin()
           
 
Method Summary
static int getInt()
          Reads and returns an integer from the terminal.
static java.lang.String getText()
          Reads and returns a line of text from the terminal.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

in

private static java.io.BufferedReader in
User input stream
Constructor Detail

Stdin

public Stdin()
Method Detail

getText

public static java.lang.String getText()
Reads and returns a line of text from the terminal.

getInt

public static int getInt()
Reads and returns an integer from the terminal.