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 Assignable
asMethods inherited from interface StreamImporter
importFrom, importFrom, importFrom, importFrom
-
Method Details
-
importZip
Deprecated.Imports providedZipInputStreamas 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)