Class SVNInputStream.Outputer

java.lang.Object
org.tigris.subversion.javahl.SVNInputStream.Outputer
All Implemented Interfaces:
OutputInterface
Enclosing class:
SVNInputStream

public class SVNInputStream.Outputer extends java.lang.Object implements OutputInterface
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.PipedOutputStream
    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 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 Details

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

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

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