C M R

C

ConsoleReader - class com.wordesign.util.ConsoleReader.
Title: First Course In Java: examples and HomeWorks Description: This class is a utility class to read input from the Command Line Copyright: Copyright (c) 2001
ConsoleReader() - Constructor for class com.wordesign.util.ConsoleReader
 

M

main(String[]) - Static method in class com.wordesign.util.ConsoleReader
This is a simple test method.

R

readDouble() - Static method in class com.wordesign.util.ConsoleReader
This method reads a double value from the command line, it returns only once a correct double has been entered, if the user enters text that cannot be parsed as a double, this method will inform the user and ask for the data again.
readInt() - Static method in class com.wordesign.util.ConsoleReader
This method reads an integer from the command line, it returns only once a correct integer has been entered, if the user enters text that cannot be parsed as an integer, this method will inform the user and ask for the data again.
readLine() - Static method in class com.wordesign.util.ConsoleReader
This method reads a line of text from the command line, it waits until a line of text is entered (the user has to press return) and then returns

C M R