ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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

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<TarOutputStream>
              extended by org.jboss.shrinkwrap.impl.base.exporter.tar.TarExporterDelegate

public class TarExporterDelegate
extends TarExporterDelegateBase<TarOutputStream>

Implementation of an exporter for the TAR format

Author:
ALR

Field Summary
 
Fields inherited from class org.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase
latch, outputStream
 
Constructor Summary
TarExporterDelegate(Archive<?> archive)
          Creates a new exporter delegate for exporting archives as TAR
 
Method Summary
protected  TarOutputStream 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

TarExporterDelegate

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

Method Detail

createOutputStream

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

Specified by:
createOutputStream in class StreamExporterDelegateBase<TarOutputStream>
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.