public static Set < String > scanClassPath ( final String classPath , final Set < String > excludeJarSet ) { final Set < String > pathSet = new HashSet < String > ( ) ; // Defer to JDKPaths to do the actual classpath scanning. __JDKPaths . processClassPathItem ( classPath , excludeJarSet , pathSet ) ; return pathSet ; }
Scan the classpath string provided and collect a set of package paths found in jars and classes on the path .