ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.exporter
Class ExplodedExporterImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl
All Implemented Interfaces:
Assignable, ExplodedExporter

public class ExplodedExporterImpl
extends AssignableBase<Archive<?>>
implements ExplodedExporter

ExplodedExporterImpl Implementation of ExplodedExporter used to export an Archive as an exploded directory structure.

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

Constructor Summary
ExplodedExporterImpl(Archive<?> archive)
           
 
Method Summary
 File exportExploded(File baseDirectory)
          Exports provided archive as an exploded directory structure.
 File exportExploded(File baseDirectory, String directoryName)
          Exports provided archive as an exploded directory structure.
 
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.Assignable
as
 

Constructor Detail

ExplodedExporterImpl

public ExplodedExporterImpl(Archive<?> archive)
Method Detail

exportExploded

public File exportExploded(File baseDirectory)
Exports provided archive as an exploded directory structure.

Specified by:
exportExploded in interface ExplodedExporter
Parameters:
baseDirectory - Must be a folder
Returns:
File for exploded archive contents
See Also:
ExplodedExporter.exportExploded(java.io.File)

exportExploded

public File exportExploded(File baseDirectory,
                           String directoryName)
Exports provided archive as an exploded directory structure.

Specified by:
exportExploded in interface ExplodedExporter
Parameters:
baseDirectory - Must be a folder
directoryName - The exploded directory name
Returns:
File for exploded archive contents
See Also:
ExplodedExporter.exportExploded(java.io.File, java.lang.String)

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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