Package org.tigris.subversion.javahl
Class SVNOutputStream
java.lang.Object
java.io.OutputStream
java.io.PipedOutputStream
org.tigris.subversion.javahl.SVNOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
This 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 ClassesModifier and TypeClassDescriptionclass
this class implements the connection to SVNAdmin -
Field Summary
FieldsModifier and TypeFieldDescription(package private) SVNOutputStream.Inputer
My connection to receive data into subversion. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a SVNOutputStream so that it is connected with an internal PipedInputStream -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this piped output stream and releases any system resources associated with this stream.Get the Interface to connect to SVNAdminMethods inherited from class java.io.PipedOutputStream
connect, flush, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Field Details
-
myInputer
SVNOutputStream.Inputer myInputerMy connection to receive data into subversion.
-
-
Constructor Details
-
SVNOutputStream
Creates a SVNOutputStream so that it is connected with an internal PipedInputStream- Throws:
IOException
-
-
Method Details
-
close
Closes 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPipedOutputStream
- Throws:
IOException
- if an I/O error occurs.
-
getInputer
Get the Interface to connect to SVNAdmin- Returns:
- the connection interface
-