public boolean containsDir(String dir) {
public synchronized boolean containsDir(String dir) {
	public boolean containsDir(String dir) {		if (!checkedOpen())			return false;		if (dir == null)			return false;		if (dir.length() == 0)			return true;		if (dir.charAt(0) == '/') {			if (dir.length() == 1)				return true;			dir = dir.substring(1);		}		if (dir.length() > 0 && dir.charAt(dir.length() - 1) != '/')			dir = dir + '/';		Enumeration entries = zipFile.entries();		ZipEntry zipEntry;		String entryPath;		while (entries.hasMoreElements()) {			zipEntry = (ZipEntry) entries.nextElement();			entryPath = zipEntry.getName();			if (entryPath.startsWith(dir)) {				return true;			}		}		return false;	}