org.tigris.subversion.javahl
Class SVNInputStream
java.lang.Object
java.io.InputStream
java.io.PipedInputStream
org.tigris.subversion.javahl.SVNInputStream
- All Implemented Interfaces:
- Closeable
public class SVNInputStream
- extends PipedInputStream
This class connects a java.io.PipedInputStream to a OutputInterface.
The other side of the Pipe must read by another thread, or deadlocks
will occur.
|
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVNInputStream
public SVNInputStream()
throws IOException
- Creates a SVNInputStream so that it is connected with an internal
PipedOutputStream
- Throws:
IOException
getOutputer
public OutputInterface getOutputer()
- Get the Interface to connect to SVNAdmin
- Returns:
- the connection interface
close
public void close()
throws IOException
- Closes this input stream and releases any system resources associated
with the stream.
The close method of InputStream does
nothing.
- Specified by:
close in interface Closeable- Overrides:
close in class PipedInputStream
- Throws:
IOException - if an I/O error occurs.