abstract class TarOnDemandInputStreamBase<T extends TarOutputStreamImpl> extends AbstractOnDemandInputStream<T>
outputStream
Constructor and Description |
---|
TarOnDemandInputStreamBase(Archive<?> archive)
Creates stream directly from archive.
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeEntry(TarOutputStreamImpl outputStream)
Closes the current entry context for the specified
OutputStream . |
protected void |
putNextEntry(TarOutputStreamImpl outputStream,
java.lang.String context)
Writes the next entry (demarcates a new file/folder is to be written).
|
createOutputStream, read
TarOnDemandInputStreamBase(Archive<?> archive)
archive
- protected void closeEntry(TarOutputStreamImpl outputStream) throws java.io.IOException
AbstractOnDemandInputStream
OutputStream
.closeEntry
in class AbstractOnDemandInputStream<T extends TarOutputStreamImpl>
java.io.IOException
protected void putNextEntry(TarOutputStreamImpl outputStream, java.lang.String context) throws java.io.IOException
AbstractOnDemandInputStream
putNextEntry
in class AbstractOnDemandInputStream<T extends TarOutputStreamImpl>
java.io.IOException
- If an error occurred writing the entry