class TarOnDemandInputStream extends TarOnDemandInputStreamBase<TarOutputStream>
outputStream
Constructor and Description |
---|
TarOnDemandInputStream(Archive<?> archive)
Creates stream directly from archive.
|
Modifier and Type | Method and Description |
---|---|
protected TarOutputStream |
createOutputStream(java.io.OutputStream outputStream)
Creates the real
OutputStream to which we'll write, wrapping the provided target. |
closeEntry, putNextEntry
read
TarOnDemandInputStream(Archive<?> archive)
archive
- protected TarOutputStream createOutputStream(java.io.OutputStream outputStream) throws java.io.IOException
AbstractOnDemandInputStream
OutputStream
to which we'll write, wrapping the provided target.createOutputStream
in class AbstractOnDemandInputStream<TarOutputStream>
java.io.IOException
- If an error occurred in creating the stream