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.IOExceptionpublic int read(byte[] data)
throws java.io.IOException
read in interface InputInterfacedata - array to store the read bytes.java.io.IOException - throw in case of problems.public void close()
throws java.io.IOException
close in interface InputInterfacejava.io.IOException - throw in case of problems.