ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.exporter.zip
Class ZipExporterImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.exporter.AbstractStreamExporterImpl
          extended by 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.

Version:
$Revision: $
Author:
John Bailey, Aslak Knutsen, ALR

Constructor Summary
ZipExporterImpl(Archive<?> archive)
           
 
Method Summary
 InputStream exportAsInputStream()
          Exports this reference in an implementation-specific format represented by the returned new InputStream 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.exporter.StreamExporter
exportTo, exportTo, exportTo
 
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
 

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 new InputStream instance

Specified by:
exportAsInputStream in interface StreamExporter
Returns:
A new InputStream to read the exported view
See Also:
StreamExporter.exportAsInputStream()

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.