|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FileTool.IZipFilter
A zip filter which is used to filter out unwanted entries while extracting a zip file.
FileTool.unzip(IZipFilter, ZipFile, File, File, int)| Method Summary | |
|---|---|
boolean |
shouldExtract(java.lang.String fullEntryName,
java.lang.String entryName,
int depth)
Returns a boolean indicating whether the entry with the specified name should be extracted from the zip file. |
boolean |
shouldUnzip(java.lang.String fullEntryName,
java.lang.String entryName,
int depth)
Returns a boolean indicating whether the entry (which is a zip/jar file) with the specified name should be extracted from the zip file and then unzipped. |
| Method Detail |
|---|
boolean shouldExtract(java.lang.String fullEntryName,
java.lang.String entryName,
int depth)
fullEntryName - the full entry name; includes full path segments for
nested zip entriesentryName - the partial entry name; only includes path segments from
the currect zip entrydepth - a number greater than or equal to zero which specifies
the depth of the current nested zip entry
boolean shouldUnzip(java.lang.String fullEntryName,
java.lang.String entryName,
int depth)
fullEntryName - the full entry name; includes full path segments for
nested zip entriesentryName - the partial entry name; only includes path segments from
the currect zip entrydepth - a number greater than or equal to zero which specifies
the depth of the current nested zip entry
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||