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
IOExceptionint readVirtualKey(InputStream in) throws IOException
IOExceptionInputStream getDefaultBindings()
Copyright © 2008-2013 Sonatype. All Rights Reserved.