org.tigris.subversion.javahl
Class SVNInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.PipedInputStream
|
+--org.tigris.subversion.javahl.SVNInputStream
- public class SVNInputStream
- extends java.io.PipedInputStream
This class connects a java.io.PipedInputStream to a OutputInterface.
The outherside of the Pipe must read by another thread, or deadlocks
will occure
Fields inherited from class java.io.PipedInputStream |
buffer, in, out, PIPE_SIZE |
Constructor Summary |
SVNInputStream()
Creates a SVNInputStream so that it is connected with an internal
PipedOutputStream |
Method Summary |
void |
close()
Closes this input stream and releases any system resources associated
with the stream. |
OutputInterface |
getOutputer()
Get the Interface to connect to SVNAdmin |
Methods inherited from class java.io.PipedInputStream |
available, connect, read, read, receive |
Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVNInputStream
public SVNInputStream()
throws java.io.IOException
- Creates a SVNInputStream so that it is connected with an internal
PipedOutputStream
- Throws:
java.io.IOException
-
getOutputer
public OutputInterface getOutputer()
- Get the Interface to connect to SVNAdmin
- Returns:
- the connetion interface
close
public void close()
throws java.io.IOException
- Closes this input stream and releases any system resources associated
with the stream.
The close
method of InputStream
does
nothing.
- Overrides:
close
in class java.io.PipedInputStream
- Throws:
java.io.IOException
- if an I/O error occurs.