org.tigris.subversion.javahl
Class SVNOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.PipedOutputStream
          extended by org.tigris.subversion.javahl.SVNOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class SVNOutputStream
extends java.io.PipedOutputStream

This class connects a java.io.PipedOutputStream to a InputInterface. The outherside of the Pipe must written by another thread, or deadlocks will occure


Nested Class Summary
 class SVNOutputStream.Inputer
          this class implements the connection to SVNAdmin
 
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.io.PipedOutputStream
connect, flush, write, write
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNOutputStream

public SVNOutputStream()
                throws java.io.IOException
Creates a SVNOutputStream so that it is connected with an internal PipedInputStream

Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.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 java.io.Closeable
Overrides:
close in class java.io.PipedOutputStream
Throws:
java.io.IOException - if an I/O error occurs.

getInputer

public InputInterface getInputer()
Get the Interface to connect to SVNAdmin

Returns:
the connetion interface