java.lang.Object | +--InputReader
Class InputReader reads typed text input from the standard text terminal. The text typed by a user is then chopped into words, and a set of words is provided.
Constructor Summary | |
InputReader()
Create a new InputReader that reads text from the text terminal. |
Method Summary | |
java.util.HashSet |
getInput()
Read a line of text from standard input (the text terminal), and return it as a set of words. |
java.lang.String |
readInputLine()
Read one line of input and return it as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputReader()
Method Detail |
public java.util.HashSet getInput()
public java.lang.String readInputLine()