Class SVNOutputStream.Inputer

java.lang.Object
org.tigris.subversion.javahl.SVNOutputStream.Inputer
All Implemented Interfaces:
InputInterface
Enclosing class:
SVNOutputStream

public class SVNOutputStream.Inputer extends java.lang.Object implements InputInterface
this class implements the connection to SVNAdmin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
    flag that the other side of the pipe has been closed
    (package private) java.io.PipedInputStream
    my side of the pipe
  • Constructor Summary

    Constructors
    Constructor
    Description
    build a new connection object
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close the input
    int
    read(byte[] data)
    read the number of data.length bytes from input.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • myStream

      java.io.PipedInputStream myStream
      my side of the pipe
    • closed

      boolean closed
      flag that the other side of the pipe has been closed
  • Constructor Details

    • Inputer

      Inputer(SVNOutputStream myMaster) throws java.io.IOException
      build a new connection object
      Parameters:
      myMaster - the other side of the pipe
      Throws:
      java.io.IOException
  • Method Details

    • read

      public int read(byte[] data) throws java.io.IOException
      read the number of data.length bytes from input.
      Specified by:
      read in interface InputInterface
      Parameters:
      data - array to store the read bytes.
      Throws:
      java.io.IOException - throw in case of problems.
    • close

      public void close() throws java.io.IOException
      close the input
      Specified by:
      close in interface InputInterface
      Throws:
      java.io.IOException - throw in case of problems.