Interface ResourceLoader<S>
-
- All Known Implementing Classes:
AbstractResourceLoader
,ClassPathResourceLoader
,FileResourceLoader
public interface ResourceLoader<S>
This interface define a resource loader.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<S>
loadAllResources()
Load all available resources.List<S>
loadResources(String name)
Load a resource.void
reload()
Reload the list of available resources.
-
-
-
Method Detail
-
loadAllResources
List<S> loadAllResources()
Load all available resources.- Returns:
- a list with all the loaded resources
-
loadResources
List<S> loadResources(String name)
Load a resource.- Parameters:
name
- name of the resource to load- Returns:
- a list the loaded resources that had the requested name
-
reload
void reload()
Reload the list of available resources.
-
-