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.
Use
ZipImporter#importFrom(ZipInputStream) |
importFrom, importFrom, importFrom, importFrom
as
@Deprecated ZipImporter importZip(ZipInputStream stream) throws ArchiveImportException
ZipImporter#importFrom(ZipInputStream)
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 © 2016 JBoss by Red Hat. All rights reserved.