/** * Get an entry from the ZIP, trying both types of slashes. * * @param file * @return */ private ZipEntry getEntry(String file) { ZipEntry entry = zip.getEntry(file); if (entry != null) { return entry; } return zip.getEntry(file.replace("/", "\\")); }