public class ValveInputStream extends InputStream
| Constructor and Description |
|---|
ValveInputStream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStdinAvailable() |
int |
read() |
int |
read(byte[] b,
int off,
int len)
For some reason AeshInputStream wants to do blocking read of whole buffers, which for stdin
results in blocked input.
|
void |
setConsole(org.jboss.aesh.console.AeshConsoleImpl console) |
void |
setInputStream(InputStream is) |
available, close, mark, markSupported, read, reset, skippublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void setInputStream(InputStream is)
public void setConsole(org.jboss.aesh.console.AeshConsoleImpl console)
public boolean isStdinAvailable()
Copyright © 2019 JBoss by Red Hat. All rights reserved.