ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.importer
Class ExplodedImporterImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.importer.ExplodedImporterImpl
All Implemented Interfaces:
Assignable, ExplodedImporter

public class ExplodedImporterImpl
extends AssignableBase<Archive<?>>
implements ExplodedImporter

ExplodedImporterImpl Importer used to import Exploded directory structures into a Archive

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ExplodedImporterImpl(Archive<?> archive)
           
 
Method Summary
 ExplodedImporter importDirectory(File file)
          Import a directory structure as a archive.
 ExplodedImporter importDirectory(String fileName)
          Import a directory structure as a archive.
 
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

ExplodedImporterImpl

public ExplodedImporterImpl(Archive<?> archive)
Method Detail

importDirectory

public ExplodedImporter importDirectory(String fileName)
Import a directory structure as a archive.

Specified by:
importDirectory in interface ExplodedImporter
Parameters:
fileName - The name of the directory to import
Returns:
this
See Also:
ExplodedImporter.importDirectory(java.lang.String)

importDirectory

public ExplodedImporter importDirectory(File file)
Import a directory structure as a archive.

Specified by:
importDirectory in interface ExplodedImporter
Parameters:
file - The directory to import
Returns:
this
See Also:
ExplodedImporter.importDirectory(java.io.File)

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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