public interface ZipImporter extends StreamImporter<ZipImporter>
Assignable type capable of importing ZIP content.| Modifier and Type | Method and Description |
|---|---|
ZipImporter |
importFrom(ZipFile file)
|
ZipImporter |
importZip(ZipFile file)
Deprecated.
|
ZipImporter |
importZip(ZipInputStream stream)
Deprecated.
|
importFrom, importFrom, importFrom, importFromas@Deprecated ZipImporter importZip(ZipInputStream stream) throws ArchiveImportException
StreamImporter.importFrom(InputStream)ZipInputStream as a Archive. It remains the responsibility of the caller to
close the ZipInputStream.stream - the stream to importArchiveImportException - If an error occurred during the import processIllegalArgumentException - If no stream is specified@Deprecated ZipImporter importZip(ZipFile file) throws ArchiveImportException
importFrom(ZipFile)file - the file to importArchiveImportException - If an error occurred during the import processIllegalArgumentException - If no file is specifiedZipImporter importFrom(ZipFile file) throws ArchiveImportException
file - the file to importArchiveImportException - If an error occurred during the import processIllegalArgumentException - If no file is specifiedCopyright © 2024 JBoss by Red Hat. All rights reserved.