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) |
getResources
public static final Logger LOG
public Collection<Path> locateResources(String name)
ResourceLocator
locateResources
in class ResourceLocator
name
- The resource nameprotected ClassLoader getResourceClassLoader()
protected Path toPath(URI uri) throws IOException
IOException
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.