public final class ClassLoaderResourceLoader extends Object implements ResourceLoader
Constructor and Description |
---|
ClassLoaderResourceLoader(ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
Class<?> |
loadClass(String name) |
String |
toString() |
public ClassLoaderResourceLoader(ClassLoader loader)
public Class<?> loadClass(String name) throws ClassNotFoundException
loadClass
in interface ResourceLoader
ClassNotFoundException
public URL getResource(String name)
getResource
in interface ResourceLoader
public Enumeration<URL> getResources(String name) throws IOException
getResources
in interface ResourceLoader
IOException
Copyright © 1999-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.