ZipInputStream file = openZip(path);
String dirName = getEntryName(path);
String prefix = path.substring(0, path.length() - dirName.length());
ArrayList<String> list = New.arrayList();
while (true) {
ZipEntry entry = file.getNextEntry();
if (entry == null) {
break;
}
String name = entry.getName();
if (name.startsWith(dirName) && name.length() > dirName.length()) {
int idx = name.indexOf('/', dirName.length());
if (idx < 0 || idx >= name.length() - 1) {
list.add(prefix + name);
}