Class AbstractStreamBridge
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.compress.compressors.pack200.AbstractStreamBridge
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
InMemoryCachingStreamBridge,TempFileCachingStreamBridge
Provides an InputStream to read all data written to this OutputStream.
- Since:
- 1.3
-
Field Summary
FieldsFields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractStreamBridge(OutputStream outputStream) -
Method Summary
Modifier and TypeMethodDescription(package private) abstract InputStreamCreates the input view.(package private) InputStreamProvides the input view.(package private) voidstop()Closes input and output and releases all associated resources.
-
Field Details
-
inputStream
-
inputStreamLock
-
-
Constructor Details
-
AbstractStreamBridge
protected AbstractStreamBridge() -
AbstractStreamBridge
-
-
Method Details
-
createInputStream
Creates the input view.- Throws:
IOException
-
getInputStream
Provides the input view.- Throws:
IOException
-
stop
Closes input and output and releases all associated resources.- Throws:
IOException
-