Class SVNInputStream.Outputer

    • 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.PipedOutputStream myStream
      my side of the pipe
    • Constructor Summary

      Constructors 
      Constructor Description
      Outputer​(SVNInputStream myMaster)
      build a new connection object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      close the output
      int write​(byte[] data)
      write the bytes in data to java
      • Methods inherited from class java.lang.Object

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

      • myStream

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

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

      • Outputer

        Outputer​(SVNInputStream myMaster)
          throws java.io.IOException
        build a new connection object
        Parameters:
        myMaster - the other side of the pipe
        Throws:
        java.io.IOException
    • Method Detail

      • write

        public int write​(byte[] data)
                  throws java.io.IOException
        write the bytes in data to java
        Specified by:
        write in interface OutputInterface
        Parameters:
        data - the data to be written
        Throws:
        java.io.IOException - throw in case of problems.
      • close

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