public class PipedInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
buffer
buffer
|
protected int |
in
in
|
protected int |
out
out
|
protected static int |
PIPE_SIZE
PIPE_SIZE
|
| Constructor and Description |
|---|
PipedInputStream()
PipedInputStream
|
PipedInputStream(PipedOutputStream pipedoutputstream)
PipedInputStream
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
connect(PipedOutputStream pipedoutputstream) |
int |
read() |
int |
read(byte[] abyte0,
int i,
int j)
Read byte data until there is no more available.
|
protected void |
receive(int i) |
mark, markSupported, read, reset, skipprotected static final int PIPE_SIZE
protected byte[] buffer
protected int in
protected int out
public PipedInputStream()
public PipedInputStream(PipedOutputStream pipedoutputstream) throws IOException
pipedoutputstream - ?IOException - ?public int available()
throws IOException
available in class InputStreamIOException - ?public void close()
throws IOException
close in class InputStreamIOException - ?public void connect(PipedOutputStream pipedoutputstream) throws IOException
pipedoutputstream - ?IOException - ?public int read()
throws IOException
read in class InputStreamIOException - ?public int read(byte[] abyte0,
int i,
int j)
throws IOException
InputStreamread in class InputStreamabyte0 - ?i - ?j - ?IOException - ?protected void receive(int i)
throws IOException
i - ?IOException - ?