as Class Path
Returns a ClassPath representing all classes and resources loadable from this and its ancestor class loaders.
Warning: ClassPath can find classes and resources only from:
URLClassLoader instances'
file:URLsthe system class loader. To search the system class loader even when it is not a URLClassLoader (as in Java 9), ClassPath searches the files from the
java.class.pathsystem property.
See also
Throws
if the attempt to read class path resources (jar files or directories) failed.