Interface ExplodedImporter
-
- All Superinterfaces:
Assignable
- All Known Implementing Classes:
ExplodedImporterImpl
public interface ExplodedImporter extends Assignable
Importer used to import Exploded directory structures into aArchive
- Version:
- $Revision: $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExplodedImporter
importDirectory(java.io.File file)
Import a directory structure as a archive.ExplodedImporter
importDirectory(java.io.File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.ExplodedImporter
importDirectory(java.lang.String fileName)
Import a directory structure as a archive.ExplodedImporter
importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive.-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
-
-
-
Method Detail
-
importDirectory
ExplodedImporter importDirectory(java.io.File file)
Import a directory structure as a archive.- Parameters:
file
- The directory to import- Returns:
- this
- Throws:
java.lang.IllegalArgumentException
- if file is nulljava.lang.IllegalArgumentException
- if file is not a directory
-
importDirectory
ExplodedImporter importDirectory(java.io.File file, Filter<ArchivePath> filter)
Import a directory structure as a archive.- Parameters:
file
- The directory to importfilter
- The filter control which files or directories will be imported- Returns:
- this
- Throws:
java.lang.IllegalArgumentException
- if file is nulljava.lang.IllegalArgumentException
- if file is not a directory
-
importDirectory
ExplodedImporter importDirectory(java.lang.String fileName)
Import a directory structure as a archive.- Parameters:
fileName
- The name of the directory to import- Returns:
- this
- Throws:
java.lang.IllegalArgumentException
- if file is nulljava.lang.IllegalArgumentException
- if file is not a directory
-
importDirectory
ExplodedImporter importDirectory(java.lang.String fileName, Filter<ArchivePath> filter)
Import a directory structure as a archive.- Parameters:
fileName
- The name of the directory to importfilter
- The filter control which files or directories will be imported- Returns:
- this
- Throws:
java.lang.IllegalArgumentException
- if file is nulljava.lang.IllegalArgumentException
- if file is not a directory
-
-