public class SVNOutputStream.Inputer extends java.lang.Object implements InputInterface
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
closed
flag that the other side of the pipe has been closed
|
(package private) java.io.PipedInputStream |
myStream
my side of the pipe
|
Constructor and Description |
---|
Inputer(SVNOutputStream myMaster)
build a new connection object
|
Modifier and Type | Method and Description |
---|---|
void |
close()
close the input
|
int |
read(byte[] data)
read the number of data.length bytes from input.
|
java.io.PipedInputStream myStream
boolean closed
Inputer(SVNOutputStream myMaster) throws java.io.IOException
myMaster
- the other side of the pipejava.io.IOException
public int read(byte[] data) throws java.io.IOException
read
in interface InputInterface
data
- array to store the read bytes.java.io.IOException
- throw in case of problems.public void close() throws java.io.IOException
close
in interface InputInterface
java.io.IOException
- throw in case of problems.