Package org.tigris.subversion.javahl
Class SVNOutputStream.Inputer
java.lang.Object
org.tigris.subversion.javahl.SVNOutputStream.Inputer
- All Implemented Interfaces:
InputInterface
- Enclosing class:
- SVNOutputStream
this class implements the connection to SVNAdmin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myStream
java.io.PipedInputStream myStreammy side of the pipe -
closed
boolean closedflag that the other side of the pipe has been closed
-
-
Constructor Details
-
Inputer
Inputer(SVNOutputStream myMaster) throws java.io.IOException build a new connection object- Parameters:
myMaster
- the other side of the pipe- Throws:
java.io.IOException
-
-
Method Details
-
read
public int read(byte[] data) throws java.io.IOException read the number of data.length bytes from input.- Specified by:
read
in interfaceInputInterface
- Parameters:
data
- array to store the read bytes.- Throws:
java.io.IOException
- throw in case of problems.
-
close
public void close() throws java.io.IOExceptionclose the input- Specified by:
close
in interfaceInputInterface
- Throws:
java.io.IOException
- throw in case of problems.
-