List of utility methods to do Class Name from Jar File
Set | gatherClassnamesFromJar(File jar) gather Classnames From Jar HashSet<String> names = new HashSet<>(); try (JarFile zf = new JarFile(jar)) { Enumeration<? extends JarEntry> entries = zf.entries(); while (entries.hasMoreElements()) { JarEntry entry = entries.nextElement(); if (!entry.isDirectory() && entry.getName().endsWith(".class") && !entry.getName().endsWith("module-info.class")) { String name = entry.getName(); ... |