public class DefaultResourceLocator extends ResourceLocator
getResourceClassLoader() in order to return an appropriate class loader.| Constructor and Description |
|---|
DefaultResourceLocator() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
getResourceClassLoader()
The default implementation returns the context class loader.
|
Collection<Path> |
locateResources(String name)
Locates all resources with the given name.
|
protected Path |
toPath(URI uri) |
getResourcespublic static final Logger LOG
public Collection<Path> locateResources(String name)
ResourceLocatorlocateResources in class ResourceLocatorname - The resource nameprotected ClassLoader getResourceClassLoader()
protected Path toPath(URI uri) throws IOException
IOExceptionCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.