ir.utilities
Class UserInput

java.lang.Object
  extended by ir.utilities.UserInput

public class UserInput
extends java.lang.Object

A place to put some helper functions for interacting with the user


Constructor Summary
UserInput()
           
 
Method Summary
static java.lang.String prompt(java.lang.String promptString)
          Prompt the user with a string and then get a line of input
static java.lang.String readLine()
          Read a line of input from the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInput

public UserInput()
Method Detail

readLine

public static java.lang.String readLine()
Read a line of input from the user


prompt

public static java.lang.String prompt(java.lang.String promptString)
Prompt the user with a string and then get a line of input