|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZipImporter
Assignable
type capable of importing ZIP content.
Method Summary | |
---|---|
ZipImporter |
importFrom(ZipFile file)
Imports provided ZipFile as a Archive . |
ZipImporter |
importZip(ZipFile file)
Deprecated. Use importFrom(ZipFile) |
ZipImporter |
importZip(ZipInputStream stream)
Deprecated. Use ZipImporter#importFrom(ZipInputStream) |
Methods inherited from interface org.jboss.shrinkwrap.api.importer.StreamImporter |
---|
importFrom, importFrom |
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable |
---|
as |
Method Detail |
---|
@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 import
ArchiveImportException
- If an error occurred during the import process
IllegalArgumentException
- If no stream is specified@Deprecated ZipImporter importZip(ZipFile file) throws ArchiveImportException
importFrom(ZipFile)
ZipFile
as a Archive
.
file
- the file to import
ArchiveImportException
- If an error occurred during the import process
IllegalArgumentException
- If no file is specifiedZipImporter importFrom(ZipFile file) throws ArchiveImportException
ZipFile
as a Archive
.
file
- the file to import
ArchiveImportException
- If an error occurred during the import process
IllegalArgumentException
- If no file is specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |