Package java.io
Class PipedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.PipedInputStream
-
public class PipedInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description PipedInputStream()
PipedInputStream(PipedOutputStream var0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
void
close()
void
connect(PipedOutputStream var0)
int
read()
int
read(byte[] var0, int var1, int var2)
protected void
receive(int var0)
-
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
-
-
-
-
Field Detail
-
buffer
protected byte[] buffer
-
in
protected int in
-
out
protected int out
-
PIPE_SIZE
protected static final int PIPE_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PipedInputStream
public PipedInputStream()
-
PipedInputStream
public PipedInputStream(PipedOutputStream var0) throws IOException
- Throws:
IOException
-
-
Method Detail
-
available
public int available() throws IOException
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Overrides:
close
in classInputStream
- Throws:
IOException
-
connect
public void connect(PipedOutputStream var0) throws IOException
- Throws:
IOException
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] var0, int var1, int var2) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
receive
protected void receive(int var0) throws IOException
- Throws:
IOException
-
-