|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjline.TerminalSupport
org.apache.karaf.shell.ssh.SshTerminal
public class SshTerminal
Nested Class Summary | |
---|---|
static class |
SshTerminal.UnixKey
Unix keys. |
Nested classes/interfaces inherited from class jline.TerminalSupport |
---|
jline.TerminalSupport.RestoreHook |
Field Summary |
---|
Fields inherited from class jline.TerminalSupport |
---|
DEFAULT_HEIGHT, DEFAULT_KEYBINDINGS_PROPERTIES, DEFAULT_WIDTH |
Constructor Summary | |
---|---|
SshTerminal(org.apache.sshd.server.Environment environment)
|
Method Summary | |
---|---|
int |
getHeight()
|
int |
getWidth()
|
void |
init()
|
int |
readVirtualKey(java.io.InputStream in)
|
void |
restore()
|
Methods inherited from class jline.TerminalSupport |
---|
getDefaultBindings, installShutdownHook, isAnsiSupported, isEchoEnabled, isSupported, readCharacter, removeShutdownHook, reset, setAnsiSupported, setEchoEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SshTerminal(org.apache.sshd.server.Environment environment)
Method Detail |
---|
public void init() throws Exception
init
in interface jline.Terminal
init
in class jline.TerminalSupport
Exception
public void restore() throws Exception
restore
in interface jline.Terminal
restore
in class jline.TerminalSupport
Exception
public int getWidth()
getWidth
in interface jline.Terminal
getWidth
in class jline.TerminalSupport
public int getHeight()
getHeight
in interface jline.Terminal
getHeight
in class jline.TerminalSupport
public int readVirtualKey(java.io.InputStream in) throws java.io.IOException
readVirtualKey
in interface jline.Terminal
readVirtualKey
in class jline.TerminalSupport
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |