Code example for JarEntry

Methods: getName

0
	} 
 
	private static String packageNameFor(JarEntry entry) {
		if (entry == null)
			return ""; 
		String s = entry.getName();
		if (s == null)
			return ""; 
		if (s.length() == 0)
			return s;
		if (s.startsWith("/"))
			s = s.substring(1, s.length());
		if (s.endsWith("/"))
			s = s.substring(0, s.length() - 1);
		return s.replace('/', '.');
	} 
 
	private final Vector findSubclasses(Class superClass, Map locations) {
		Set setOfClasses = new TreeSet(CLASS_COMPARATOR);
		Vector v = new Vector();