public class OsgiResourceStreamLocator extends ResourceStreamLocator
| Constructor and Description |
|---|
OsgiResourceStreamLocator()
Construct.
|
OsgiResourceStreamLocator(IResourceFinder finder)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
IResourceStream |
locate(Class<?> clazz,
String path)
Locate a resource, given a path and class.
|
locate, newResourceNameIterator, newResourceNameIteratorpublic OsgiResourceStreamLocator()
public OsgiResourceStreamLocator(IResourceFinder finder)
finder - public IResourceStream locate(Class<?> clazz, String path)
IResourceStreamLocatorIResourceStreamLocator.locate(Class, String, String, String, java.util.Locale, String, boolean) where the
latter just takes care of trying out the different combinations for the provided style and
locale and uses this method to actually load the resource stream.locate in interface IResourceStreamLocatorlocate in class ResourceStreamLocatorclazz - The class loader for delegating the loading of the resourcepath - The path of the resourceResourceStreamLocator.locate(java.lang.Class,
java.lang.String)Copyright © 2006–2021 Apache Software Foundation. All rights reserved.