Class SVNInputStream

java.lang.Object
java.io.InputStream
java.io.PipedInputStream
org.tigris.subversion.javahl.SVNInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

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.
  • Field Details

  • Constructor Details

    • SVNInputStream

      public SVNInputStream() throws IOException
      Creates a SVNInputStream so that it is connected with an internal PipedOutputStream
      Throws:
      IOException
  • Method Details

    • 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 AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class PipedInputStream
      Throws:
      IOException - if an I/O error occurs.