Class TarExporterImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl
-
- org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterImpl
-
- All Implemented Interfaces:
Assignable,StreamExporter,TarExporter
public class TarExporterImpl extends AbstractStreamExporterImpl implements TarExporter
Implementation ofTarExporterused to export an Archive as a TAR format.
-
-
Constructor Summary
Constructors Constructor Description TarExporterImpl(Archive<?> archive)Creates a new exporter for the specified archive
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamexportAsInputStream()Exports this reference in an implementation-specific format represented by the returned newInputStreaminstance-
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl
exportTo, exportTo, exportTo, getOutputStreamToFile
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchive
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
Methods inherited from interface org.jboss.shrinkwrap.api.exporter.StreamExporter
exportTo, exportTo, exportTo
-
-
-
-
Constructor Detail
-
TarExporterImpl
public TarExporterImpl(Archive<?> archive)
Creates a new exporter for the specified archive
-
-
Method Detail
-
exportAsInputStream
public java.io.InputStream exportAsInputStream()
Exports this reference in an implementation-specific format represented by the returned newInputStreaminstance- Specified by:
exportAsInputStreamin interfaceStreamExporter- Returns:
- A new
InputStreamto read the exported view - See Also:
StreamExporter.exportAsInputStream()
-
-