ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate<InputStream>
      extended by org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase<T>
          extended by org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterDelegateBase<TarGzOutputStream>
              extended by org.jboss.shrinkwrap.impl.base.exporter.tar.TarGzExporterDelegate

public class TarGzExporterDelegate
extends TarExporterDelegateBase<TarGzOutputStream>

Implementation of an exporter for the TAR format, further encoded as GZIP.

Version:
$Revision: $
Author:
ALR

Field Summary
 
Fields inherited from class org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase
latch, outputStream
 
Constructor Summary
TarGzExporterDelegate(Archive<?> archive)
          Creates a new exporter delegate for exporting archives as TAR/GZ
 
Method Summary
protected  TarGzOutputStream createOutputStream(OutputStream out)
          Creates the real OutputStream to which we'll write, wrapping the provided target.
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterDelegateBase
closeEntry, getExportTask, putNextExtry
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase
doExport, getExportedPaths, getResult, processNode
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.exporter.AbstractExporterDelegate
export, getArchive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TarGzExporterDelegate

public TarGzExporterDelegate(Archive<?> archive)
Creates a new exporter delegate for exporting archives as TAR/GZ

Method Detail

createOutputStream

protected final TarGzOutputStream createOutputStream(OutputStream out)
                                              throws IOException
Creates the real OutputStream to which we'll write, wrapping the provided target.

Specified by:
createOutputStream in class StreamExporterDelegateBase<TarGzOutputStream>
Returns:
Throws:
IOException - If an error occurred in creating the stream
See Also:
StreamExporterDelegateBase.createOutputStream(java.io.OutputStream)

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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