public interface Terminal
Modifier and Type | Method and Description |
---|---|
InputStream |
getDefaultBindings() |
int |
getHeight() |
int |
getWidth() |
void |
init() |
boolean |
isAnsiSupported() |
boolean |
isEchoEnabled() |
boolean |
isSupported() |
int |
readCharacter(InputStream in) |
int |
readVirtualKey(InputStream in) |
void |
reset() |
void |
restore() |
void |
setEchoEnabled(boolean enabled) |
boolean isSupported()
int getWidth()
int getHeight()
boolean isAnsiSupported()
boolean isEchoEnabled()
void setEchoEnabled(boolean enabled)
int readCharacter(InputStream in) throws IOException
IOException
int readVirtualKey(InputStream in) throws IOException
IOException
InputStream getDefaultBindings()
Copyright © 2008-2012 Sonatype. All Rights Reserved.