ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.exporter.tar
Class TarExporterImpl

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.tar.TarExporterImpl
All Implemented Interfaces:
Assignable, StreamExporter, TarExporter

public class TarExporterImpl
extends AbstractStreamExporterImpl
implements TarExporter

Implementation of TarGzExporter used to export an Archive as a TAR format

Author:
ALR

Constructor Summary
TarExporterImpl(Archive<?> archive)
          Creates a new exporter for the specified 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

TarExporterImpl

public TarExporterImpl(Archive<?> archive)
Creates a new exporter for the specified 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.