Package org.tigris.subversion.javahl
Class SVNOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.PipedOutputStream
-
- org.tigris.subversion.javahl.SVNOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class SVNOutputStream extends java.io.PipedOutputStreamThis class connects a java.io.PipedOutputStream to a InputInterface. The other side of the Pipe must written by another thread, or deadlocks will occur.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSVNOutputStream.Inputerthis class implements the connection to SVNAdmin
-
Field Summary
Fields Modifier and Type Field Description (package private) SVNOutputStream.InputermyInputerMy connection to receive data into subversion.
-
Constructor Summary
Constructors Constructor Description SVNOutputStream()Creates a SVNOutputStream so that it is connected with an internal PipedInputStream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this piped output stream and releases any system resources associated with this stream.InputInterfacegetInputer()Get the Interface to connect to SVNAdmin
-
-
-
Field Detail
-
myInputer
SVNOutputStream.Inputer myInputer
My connection to receive data into subversion.
-
-
Method Detail
-
close
public void close() throws java.io.IOExceptionCloses this piped output stream and releases any system resources associated with this stream. This stream may no longer be used for writing bytes.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.PipedOutputStream- Throws:
java.io.IOException- if an I/O error occurs.
-
getInputer
public InputInterface getInputer()
Get the Interface to connect to SVNAdmin- Returns:
- the connection interface
-
-