boolean flag = false;
if (key == null || "".equals(key)) {
unZip(inFile, new File(outDir));
} else {
AesZipFileDecrypter zipFile = new AesZipFileDecrypter(new File(
inFile));
for (ExtZipEntry entry : zipFile.getEntryList()) {
if (!ifSubDir) {
String filename = entry.getName();
String[] strArray = filename.split(File.separator
+ File.separator);
if (strArray != null && strArray.length == 1) {
zipFile.extractEntry(entry, new File(outDir
+ File.separator + entry.getName()), key);
}
} else {
zipFile.extractEntry(entry, new File(outDir
+ File.separator + entry.getName()), key);
}
}
}
flag = true;