Class SVNOutputStream.Inputer

    • Field Summary

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

      Constructors 
      Constructor Description
      Inputer​(SVNOutputStream myMaster)
      build a new connection object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      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 Detail

      • 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 Detail

      • 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 Detail

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