public class WaitingByteArrayInputStream extends ByteArrayInputStream
buf, count, mark, pos| Constructor and Description |
|---|
WaitingByteArrayInputStream() |
WaitingByteArrayInputStream(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
push(String line)
Pushes a string for the other process to read
|
int |
read() |
int |
read(byte[] buffer,
int off,
int len) |
available, close, mark, markSupported, reset, skipreadpublic WaitingByteArrayInputStream(byte[] data)
public WaitingByteArrayInputStream()
public int read()
read in class ByteArrayInputStreampublic int read(byte[] buffer,
int off,
int len)
read in class ByteArrayInputStreampublic void push(String line) throws IOException
line - - string to push for the other process to readIOExceptionCopyright © 2019. All rights reserved.