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, skip
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void setInputStream(InputStream is)
public void setConsole(org.jboss.aesh.console.AeshConsoleImpl console)
public boolean isStdinAvailable()
Copyright © 2021 JBoss by Red Hat. All rights reserved.