Class ZipExporterDelegate
java.lang.Object
org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate<InputStream>
org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterDelegate
Implementation of a ZIP exporter. Cannot handle archives with no content (as there'd be no
ZipEntry s to write to the ZipOutputStream-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedZipExporterDelegate(Archive<?> archive) protectedZipExporterDelegate(Archive<?> archive, boolean compressed) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamReturn the results of the export.protected voidprocessNode(ArchivePath path, Node node) Template method for processing a single node.Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate
doExport, export, getArchive
-
Field Details
-
compressed
private boolean compressed
-
-
Constructor Details
-
ZipExporterDelegate
-
ZipExporterDelegate
-
-
Method Details
-
processNode
Description copied from class:AbstractExporterDelegateTemplate method for processing a single node.- Specified by:
processNodein classAbstractExporterDelegate<InputStream>
-
getResult
Description copied from class:AbstractExporterDelegateReturn the results of the export. Should process any tasks required to finalize the export.- Specified by:
getResultin classAbstractExporterDelegate<InputStream>- Returns:
-