Package com.bc.ceres.core
Class ResourceLocator
- java.lang.Object
-
- com.bc.ceres.core.ResourceLocator
-
- Direct Known Subclasses:
DefaultResourceLocator
public abstract class ResourceLocator extends Object
Resource locators are service providers used collect resources across multiple code bases in multi-module environments.- Since:
- Ceres 2.0
-
-
Constructor Summary
Constructors Constructor Description ResourceLocator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Collection<Path>
getResources(String name)
Gets all resources from all registeredResourceLocator
services for the given name.abstract Collection<Path>
locateResources(String name)
Locates all resources with the given name.
-
-
-
Method Detail
-
getResources
public static Collection<Path> getResources(String name)
Gets all resources from all registeredResourceLocator
services for the given name.- Parameters:
name
- The resource name- Returns:
- The collection of all resources found
-
locateResources
public abstract Collection<Path> locateResources(String name)
Locates all resources with the given name.- Parameters:
name
- The resource name- Returns:
- The collection of all resources located
-
-