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, readTarOnDemandInputStreamBase(Archive<?> archive)
archive - protected void closeEntry(TarOutputStreamImpl outputStream) throws java.io.IOException
AbstractOnDemandInputStreamOutputStream.closeEntry in class AbstractOnDemandInputStream<T extends TarOutputStreamImpl>java.io.IOExceptionprotected void putNextEntry(TarOutputStreamImpl outputStream, java.lang.String context) throws java.io.IOException
AbstractOnDemandInputStreamputNextEntry in class AbstractOnDemandInputStream<T extends TarOutputStreamImpl>java.io.IOException - If an error occurred writing the entry