private static void addEntry(Hashtable entries, String name) {
		String dir = "";
		int pathsep = name.lastIndexOf("/");
		if (pathsep != -1) {
			dir = name.substring(0, pathsep);
			name = name.substring(pathsep + 1);
		}

		Vector dirContent = (Vector) entries.get(dir);
		if (dirContent == null) {
			dirContent = new Vector();
			entries.put(dir, dirContent);
			if (dir != "")
				addEntry(entries, dir);
		}
		dirContent.addElement(name);
	}