Class TarGzExporterImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl
-
- org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterImpl
-
- All Implemented Interfaces:
Assignable
,StreamExporter
,TarGzExporter
public class TarGzExporterImpl extends AbstractStreamExporterImpl implements TarGzExporter
Implementation ofTarGzExporter
used to export an Archive as a TAR format encoded in GZIP.
-
-
Constructor Summary
Constructors Constructor Description TarGzExporterImpl(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.InputStream
exportAsInputStream()
Exports this reference in an implementation-specific format represented by the returned newInputStream
instance-
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
-
TarGzExporterImpl
public TarGzExporterImpl(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 newInputStream
instance- Specified by:
exportAsInputStream
in interfaceStreamExporter
- Returns:
- A new
InputStream
to read the exported view - See Also:
StreamExporter.exportAsInputStream()
-
-