Class ZipExporterImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl
-
- org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl
-
- All Implemented Interfaces:
Assignable
,StreamExporter
,ZipExporter
public class ZipExporterImpl extends AbstractStreamExporterImpl implements ZipExporter
Implementation of ZipExporter used to export an Archive as a ZIP format.- Author:
- John Bailey, Aslak Knutsen, ALR, Michal Matloka
-
-
Constructor Summary
Constructors Constructor Description ZipExporterImpl(Archive<?> archive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
ZipExporterImpl
public ZipExporterImpl(Archive<?> archive)
-
-
Method Detail
-
exportAsInputStream
public 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()
-
-