|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZipExporter
Exporter used to represent an Archive as a ZIP format.
http://www.pkware.com/documents/casestudies/APPNOTE.TXT
Method Summary | |
---|---|
InputStream |
exportZip()
Exports provided archive as a Zip archive. |
void |
exportZip(File target)
Exports provided archive as a ZIP archive, written to the specified File target. |
void |
exportZip(File target,
boolean overwrite)
Exports provided archive as a ZIP archive, written to the specified File target. |
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable |
---|
as |
Method Detail |
---|
InputStream exportZip() throws ArchiveExportException
archive
-
InputStream
for exported Zip
ArchiveExportException
- if the export process failsvoid exportZip(File target) throws ArchiveExportException, FileExistsException, IllegalArgumentException
File
target. If the target exists this call will
fail with IllegalArgumentException
archive
-
IllegalArgumentException
- If the target is not specified
FileExistsException
- If the target already exists
ArchiveExportException
- if the export process failsvoid exportZip(File target, boolean overwrite) throws ArchiveExportException, FileExistsException, IllegalArgumentException
File
target. If the target both exists and the "overwrite"
flag is true, this call will allow the existing file to be overwritten, else
the invocation will fail with IllegalArgumentException
archive
-
IllegalArgumentException
- If the target is not specified
FileExistsException
- If the target both already exists and the overwrite flag is false
ArchiveExportException
- if the export process fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |