org.apache.logging.log4j.core.util
Class BundleResourceLoader
java.lang.Object
org.apache.logging.log4j.core.util.BundleResourceLoader
- All Implemented Interfaces:
- ResourceLoader
public final class BundleResourceLoader
- extends Object
- implements ResourceLoader
Bundle-based ResourceLoader.
BundleResourceLoader
public BundleResourceLoader(org.osgi.framework.Bundle bundle)
loadClass
public Class<?> loadClass(String name)
throws ClassNotFoundException
- Specified by:
loadClass
in interface ResourceLoader
- Throws:
ClassNotFoundException
getResource
public URL getResource(String name)
- Specified by:
getResource
in interface ResourceLoader
getResources
public Enumeration<URL> getResources(String name)
throws IOException
- Specified by:
getResources
in interface ResourceLoader
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2014 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.