Package org.tigris.subversion.javahl
Class SVNInputStream
java.lang.Object
java.io.InputStream
java.io.PipedInputStream
org.tigris.subversion.javahl.SVNInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SVNInputStream extends PipedInputStream
This 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 class
SVNInputStream.Outputer
this class implements the connection to SVNAdmin -
Field Summary
-
Constructor Summary
Constructors Constructor Description SVNInputStream()
Creates a SVNInputStream so that it is connected with an internal PipedOutputStream -
Method Summary
Modifier and Type Method Description void
close()
Closes this input stream and releases any system resources associated with the stream.OutputInterface
getOutputer()
Get the Interface to connect to SVNAdminMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
SVNInputStream
Creates a SVNInputStream so that it is connected with an internal PipedOutputStream- Throws:
IOException
-
-
Method Details
-
getOutputer
Get the Interface to connect to SVNAdmin- Returns:
- the connection interface
-
close
Closes this input stream and releases any system resources associated with the stream.The
close
method ofInputStream
does nothing.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPipedInputStream
- Throws:
IOException
- if an I/O error occurs.
-