| Modifier and Type | Class and Description |
|---|---|
| private static class | JdkConsoleProviderImpl.
An implementation of JdkConsole, which act as a delegate for the public Console class. |
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JdkConsole | console(boolean isTTY, Charset inCharset, Charset outCharset)
Implements jdk. Returns the Console instance, or |
| JdkConsoleProviderImpl | back to summary |
|---|---|
| public JdkConsoleProviderImpl() | |
| console | back to summary |
|---|---|
| public JdkConsole console(boolean isTTY, Charset inCharset, Charset outCharset) Implements jdk. Doc from jdk. Returns the Console instance, or
| |
| Modifier and Type | Field and Description |
|---|---|
| private volatile LineReader | |
| private final Terminal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Charset | |
| public void | |
| public JdkConsole | |
| private void | |
| public JdkConsole | |
| public JdkConsole | |
| public Reader | |
| public String | readLine(Locale locale, String format, Object... args)
Implements jdk.
|
| public String | |
| public char[] | readPassword(Locale locale, String format, Object... args)
Implements jdk.
|
| public char[] | |
| public PrintWriter |
| jline | back to summary |
|---|---|
| private volatile LineReader jline | |
| terminal | back to summary |
|---|---|
| private final Terminal terminal | |
| JdkConsoleImpl | back to summary |
|---|---|
| public JdkConsoleImpl(Terminal terminal) | |
| charset | back to summary |
|---|---|
| public Charset charset() Implements jdk.
| |
| flush | back to summary |
|---|---|
| public void flush() Implements jdk.
| |
| format | back to summary |
|---|---|
| public JdkConsole format(Locale locale, String format, Object... args) Implements jdk.
| |
| initJLineIfNeeded | back to summary |
|---|---|
| private void initJLineIfNeeded() | |
| back to summary | |
|---|---|
| public JdkConsole print(Object obj) Implements jdk.
| |
| println | back to summary |
|---|---|
| public JdkConsole println(Object obj) Implements jdk.
| |
| reader | back to summary |
|---|---|
| public Reader reader() Implements jdk.
| |
| readLine | back to summary |
|---|---|
| public String readLine(Locale locale, String format, Object... args) Implements jdk.
| |
| readLine | back to summary |
|---|---|
| public String readLine() Implements jdk.
| |
| readPassword | back to summary |
|---|---|
| public char[] readPassword(Locale locale, String format, Object... args) Implements jdk.
| |
| readPassword | back to summary |
|---|---|
| public char[] readPassword() Implements jdk.
| |
| writer | back to summary |
|---|---|
| public PrintWriter writer() Implements jdk.
| |
| Modifier and Type | Field and Description |
|---|---|
| private volatile JdkConsole | |
| private volatile boolean | |
| private final Charset |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Charset | |
| public void | |
| private void | |
| public JdkConsole | |
| private JdkConsole | |
| private synchronized JdkConsole | |
| public JdkConsole | |
| public JdkConsole | |
| public Reader | |
| public String | readLine(Locale locale, String format, Object... args)
Implements jdk.
|
| public String | |
| public char[] | readPassword(Locale locale, String format, Object... args)
Implements jdk.
|
| public char[] | |
| public PrintWriter |
| delegate | back to summary |
|---|---|
| private volatile JdkConsole delegate | |
| jlineInitialized | back to summary |
|---|---|
| private volatile boolean jlineInitialized | |
| outCharset | back to summary |
|---|---|
| private final Charset outCharset | |
| LazyDelegatingJdkConsoleImpl | back to summary |
|---|---|
| public LazyDelegatingJdkConsoleImpl(Charset inCharset, Charset outCharset) | |
| charset | back to summary |
|---|---|
| public Charset charset() Implements jdk.
| |
| flush | back to summary |
|---|---|
| public void flush() Implements jdk.
| |
| flushOldDelegateIfNeeded | back to summary |
|---|---|
| private void flushOldDelegateIfNeeded(JdkConsole oldDelegate) | |
| format | back to summary |
|---|---|
| public JdkConsole format(Locale locale, String format, Object... args) Implements jdk.
| |
| getDelegate | back to summary |
|---|---|
| private JdkConsole getDelegate(boolean needsJLine) | |
| initializeJLineDelegate | back to summary |
|---|---|
| private synchronized JdkConsole initializeJLineDelegate() | |
| back to summary | |
|---|---|
| public JdkConsole print(Object obj) Implements jdk.
| |
| println | back to summary |
|---|---|
| public JdkConsole println(Object obj) Implements jdk.
| |
| reader | back to summary |
|---|---|
| public Reader reader() Implements jdk.
| |
| readLine | back to summary |
|---|---|
| public String readLine(Locale locale, String format, Object... args) Implements jdk.
| |
| readLine | back to summary |
|---|---|
| public String readLine() Implements jdk.
| |
| readPassword | back to summary |
|---|---|
| public char[] readPassword(Locale locale, String format, Object... args) Implements jdk.
| |
| readPassword | back to summary |
|---|---|
| public char[] readPassword() Implements jdk.
| |
| writer | back to summary |
|---|---|
| public PrintWriter writer() Implements jdk.
| |