Interface ResourceLoader
public interface ResourceLoader
This interface provides an abstract layer for an application to load its resources.
Ressources can be loaded from a database, a properties file or any other way.
Ressources can be loaded from a database, a properties file or any other way.
- Since:
- v1.4.1
-
Method Summary
Modifier and TypeMethodDescriptiongetResource(String strId) Load a resource by its IdLoad all resources available for this loader
-
Method Details
-
getResources
Collection getResources()Load all resources available for this loader- Returns:
- A collection of resources
-
getResource
Load a resource by its Id- Parameters:
strId- The Id of the resource- Returns:
- The resource
-