org.jboss.shrinkwrap.api.importer
Interface ExplodedImporter

All Superinterfaces:
Assignable

public interface ExplodedImporter
extends Assignable

ExplodedImporter Importer used to import Exploded directory structures into a Archive

Version:
$Revision: $
Author:
Aslak Knutsen

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 interface org.jboss.shrinkwrap.api.Assignable
as
 

Method Detail

importDirectory

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

Parameters:
file - The directory to import
Returns:
this
Throws:
IllegalArgumentException - if file is null
IllegalArgumentException - if file is not a directory

importDirectory

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

Parameters:
fileName - The name of the directory to import
Returns:
this
Throws:
IllegalArgumentException - if file is null
IllegalArgumentException - if file is not a directory


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