Class ClassPathResourceLoader<S>
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.AbstractResourceLoader<S>
fr.ens.biologie.genomique.eoulsan.util.ClassPathResourceLoader<S>
- Type Parameters:
S- Type of the data to load
- All Implemented Interfaces:
ResourceLoader<S>
This class allow to define a resource loader for resources in the class path.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class fr.ens.biologie.genomique.eoulsan.util.AbstractResourceLoader
loadAllResources, loadResources
-
Constructor Details
-
ClassPathResourceLoader
Constructor.- Parameters:
clazz- the Class type of the resource to loadresourcePath- the path in the class path where are the resources to load
-
-
Method Details
-
reload
public void reload()Description copied from interface:ResourceLoaderReload the list of available resources.
-