Lines Matching refs:console

34  * Methods to access the character-based console device, if any, associated
37 * <p> Whether a virtual machine has a console is dependent upon the
41 * output streams then its console will exist and will typically be
45 * have a console.
47 * If this virtual machine has a console then it is represented by a
49 * {@link java.lang.System#console()} method. If no console device is
63 * The console-read methods return <tt>null</tt> when the end of the
64 * console input stream is reached, for example by typing control-D on
66 * if additional characters are later entered on the console's input
81 * if ((cons = System.console()) != null &&
96 * associated with this console.
98 * @return The printwriter associated with this console
106 * with this console.
112 * Console con = System.console();
131 * @return The reader associated with this console
138 * Writes a formatted string to this console's output stream using
165 * @return This console
173 * A convenience method to write a formatted string to this console's
204 * @return This console
212 * console.
237 * @return A string containing the line read from the console, not
260 * Reads a single line of text from the console.
265 * @return A string containing the line read from the console, not
275 * the console with echoing disabled.
302 * from the console, not including any line-termination characters,
340 * Reads a password or passphrase from the console with echoing disabled
346 * from the console, not including any line-termination characters,
354 * Flushes the console and forces any buffered output to be written
517 // Add a shutdown hook to restore console's echo state should
532 // shutdown is already in progress and console is first used
537 public Console console() {