Package org.tigris.subversion.javahl
Class SVNInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.PipedInputStream
-
- org.tigris.subversion.javahl.SVNInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class SVNInputStream extends java.io.PipedInputStreamThis class connects a java.io.PipedInputStream to a OutputInterface. The other side of the Pipe must read by another thread, or deadlocks will occur.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSVNInputStream.Outputerthis class implements the connection to SVNAdmin
-
Field Summary
Fields Modifier and Type Field Description (package private) SVNInputStream.OutputermyOutputermy connection to put data into subversion
-
Constructor Summary
Constructors Constructor Description SVNInputStream()Creates a SVNInputStream so that it is connected with an internal PipedOutputStream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this input stream and releases any system resources associated with the stream.OutputInterfacegetOutputer()Get the Interface to connect to SVNAdmin
-
-
-
Field Detail
-
myOutputer
SVNInputStream.Outputer myOutputer
my connection to put data into subversion
-
-
Method Detail
-
getOutputer
public OutputInterface getOutputer()
Get the Interface to connect to SVNAdmin- Returns:
- the connection interface
-
close
public void close() throws java.io.IOExceptionCloses this input stream and releases any system resources associated with the stream.The
closemethod ofInputStreamdoes nothing.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.PipedInputStream- Throws:
java.io.IOException- if an I/O error occurs.
-
-