Class ClassLoader
java.lang.Object
dev.gmitch215.bytebox.classloader.ClassLoader
A class loader over an empty classpath: every lookup finds nothing.
Libraries that discover a provider by scanning for resources ask getResources first. A
compiled program has no classpath to enumerate, so the honest answer is an empty one, which
those libraries already handle as "nothing configured".
- Since:
- 1.0.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource(String name) getResourceAsStream(String name) getResources(String name) static ClassLoaderstatic URLgetSystemResource(String name) static InputStreamstatic Enumeration<URL> getSystemResources(String name) Class<?>
-
Constructor Details
-
ClassLoader
protected ClassLoader() -
ClassLoader
-
-
Method Details
-
getParent
-
getSystemClassLoader
-
loadClass
- Throws:
ClassNotFoundException
-
getResource
-
getResources
-
getResourceAsStream
-
getSystemResource
-
getSystemResources
-
getSystemResourceAsStream
-