public final class BundleResourceLoader extends Object implements ResourceLoader
Constructor and Description |
---|
BundleResourceLoader(org.osgi.framework.Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
Class<?> |
loadClass(String name) |
String |
toString() |
public BundleResourceLoader(org.osgi.framework.Bundle bundle)
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-2015 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.