Class TarOnDemandInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.jboss.shrinkwrap.impl.base.exporter.AbstractOnDemandInputStream<T>
-
- org.jboss.shrinkwrap.impl.base.exporter.tar.TarOnDemandInputStreamBase<TarOutputStream>
-
- org.jboss.shrinkwrap.impl.base.exporter.tar.TarOnDemandInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
class TarOnDemandInputStream extends TarOnDemandInputStreamBase<TarOutputStream>
Tar on demand input stream.
-
-
Field Summary
-
Fields inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractOnDemandInputStream
outputStream
-
-
Constructor Summary
Constructors Constructor Description TarOnDemandInputStream(Archive<?> archive)
Creates stream directly from archive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TarOutputStream
createOutputStream(java.io.OutputStream outputStream)
Creates the realOutputStream
to which we'll write, wrapping the provided target.-
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.tar.TarOnDemandInputStreamBase
closeEntry, putNextEntry
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractOnDemandInputStream
read
-
-
-
-
Constructor Detail
-
TarOnDemandInputStream
TarOnDemandInputStream(Archive<?> archive)
Creates stream directly from archive.- Parameters:
archive
-
-
-
Method Detail
-
createOutputStream
protected TarOutputStream createOutputStream(java.io.OutputStream outputStream) throws java.io.IOException
Description copied from class:AbstractOnDemandInputStream
Creates the realOutputStream
to which we'll write, wrapping the provided target.- Specified by:
createOutputStream
in classAbstractOnDemandInputStream<TarOutputStream>
- Returns:
- Throws:
java.io.IOException
- If an error occurred in creating the stream
-
-