| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected final StringBuilder | |
| protected final Deque | |
| protected final NonBlockingReader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public int | |
| public < the type of bindings to be read T> T | Returns: the decoded binding ornull if the end of
stream has been reachedthe KeyMap to use for decoding the input stream keys)Read from the input stream and decode an operation from the key map. |
| public <T> T | |
| public <T> T | |
| public int | Returns: the character, or -1 if an EOF is received.Read a codepoint from the terminal. |
| public int | |
| public String | |
| public void |
| lastBinding | back to summary |
|---|---|
| protected String lastBinding | |
| opBuffer | back to summary |
|---|---|
| protected final StringBuilder opBuffer | |
| pushBackChar | back to summary |
|---|---|
| protected final Deque<Integer> pushBackChar | |
| reader | back to summary |
|---|---|
| protected final NonBlockingReader reader | |
| BindingReader | back to summary |
|---|---|
| public BindingReader(NonBlockingReader reader) | |
| getCurrentBuffer | back to summary |
|---|---|
| public String getCurrentBuffer() | |
| getLastBinding | back to summary |
|---|---|
| public String getLastBinding() | |
| peekCharacter | back to summary |
|---|---|
| public int peekCharacter(long timeout) | |
| readBinding | back to summary |
|---|---|
| public <T> T readBinding(KeyMap<T> keys) Read from the input stream and decode an operation from the key map.
The input stream will be read character by character until a matching
binding can be found. Characters that can't possibly be matched to
any binding will be send with the
| |
| readBinding | back to summary |
|---|---|
| public <T> T readBinding(KeyMap<T> keys, KeyMap<T> local) | |
| readBinding | back to summary |
|---|---|
| public <T> T readBinding(KeyMap<T> keys, KeyMap<T> local, boolean block) | |
| readCharacter | back to summary |
|---|---|
| public int readCharacter() Read a codepoint from the terminal.
| |
| readCharacterBuffered | back to summary |
|---|---|
| public int readCharacterBuffered() | |
| readStringUntil | back to summary |
|---|---|
| public String readStringUntil(String sequence) | |
| runMacro | back to summary |
|---|---|
| public void runMacro(String macro) | |