Interface ZipImporter
- All Superinterfaces:
Assignable
,StreamImporter<ZipImporter>
- All Known Implementing Classes:
ZipImporterImpl
Assignable
type capable of importing ZIP content.- Version:
- $Revision: $
-
Method Summary
Modifier and TypeMethodDescriptionimportFrom
(ZipFile file) Deprecated.importZip
(ZipInputStream stream) Deprecated.Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
Methods inherited from interface org.jboss.shrinkwrap.api.importer.StreamImporter
importFrom, importFrom, importFrom, importFrom
-
Method Details
-
importZip
Deprecated.Imports providedZipInputStream
as aArchive
. It remains the responsibility of the caller to close theZipInputStream
.- Parameters:
stream
- the stream to import- Returns:
- Archive of the imported Zip
- Throws:
ArchiveImportException
- If an error occurred during the import processIllegalArgumentException
- If no stream is specified
-
importZip
Deprecated.- Parameters:
file
- the file to import- Returns:
- Archive of the imported Zip
- Throws:
ArchiveImportException
- If an error occurred during the import processIllegalArgumentException
- If no file is specified
-
importFrom
- Parameters:
file
- the file to import- Returns:
- Archive of the imported Zip
- Throws:
ArchiveImportException
- If an error occurred during the import processIllegalArgumentException
- If no file is specified
-
importFrom(ZipFile)