org.tigris.subversion.javahl
Class SVNOutputStream
java.lang.Object
java.io.OutputStream
java.io.PipedOutputStream
org.tigris.subversion.javahl.SVNOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class SVNOutputStream
- extends PipedOutputStream
This class connects a java.io.PipedOutputStream to a InputInterface.
The other side of the Pipe must written by another thread, or deadlocks
will occur.
Constructor Summary |
SVNOutputStream()
Creates a SVNOutputStream so that it is connected with an internal
PipedInputStream |
Method Summary |
void |
close()
Closes this piped output stream and releases any system resources
associated with this stream. |
InputInterface |
getInputer()
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 |
SVNOutputStream
public SVNOutputStream()
throws IOException
- Creates a SVNOutputStream so that it is connected with an internal
PipedInputStream
- Throws:
IOException
close
public void close()
throws IOException
- Closes this piped output stream and releases any system resources
associated with this stream. This stream may no longer be used for
writing bytes.
- Specified by:
close
in interface Closeable
- Overrides:
close
in class PipedOutputStream
- Throws:
IOException
- if an I/O error occurs.
getInputer
public InputInterface getInputer()
- Get the Interface to connect to SVNAdmin
- Returns:
- the connection interface