public interface ZipImporter extends StreamImporter<ZipImporter>
Assignable
type capable of importing ZIP content.Modifier and Type | Method and Description |
---|---|
ZipImporter |
importFrom(java.util.zip.ZipFile file)
Imports provided
ZipFile as a Archive . |
ZipImporter |
importZip(java.util.zip.ZipFile file)
Deprecated.
|
ZipImporter |
importZip(java.util.zip.ZipInputStream stream)
Deprecated.
Use
ZipImporter#importFrom(ZipInputStream) |
importFrom, importFrom, importFrom, importFrom
as
@Deprecated ZipImporter importZip(java.util.zip.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 processjava.lang.IllegalArgumentException
- If no stream is specified@Deprecated ZipImporter importZip(java.util.zip.ZipFile file) throws ArchiveImportException
importFrom(ZipFile)
ZipFile
as a Archive
.file
- the file to importArchiveImportException
- If an error occurred during the import processjava.lang.IllegalArgumentException
- If no file is specifiedZipImporter importFrom(java.util.zip.ZipFile file) throws ArchiveImportException
ZipFile
as a Archive
.file
- the file to importArchiveImportException
- If an error occurred during the import processjava.lang.IllegalArgumentException
- If no file is specified