Console Class

Used to print messages to the standard output stream.

Constructors

public Console( )

Methods

getInput( String prompt ) returns String
Used to prompt a user for an input
getPassword( String prompt ) returns String
Used to prompt a user for a password. The password is hidden as is it entered.
getUserName( String prompt ) returns String
Used to prompt a user for a username
log( Object obj ) returns void
Prints a message to the standard output stream. Accepts strings, nulls, and all other Java objects.
parseArgs( String[] args ) returns java.util.HashMap
Converts command line inputs into key/value pairs.