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>

public abstract class ClassPathResourceLoader<S> extends AbstractResourceLoader<S>
This class allow to define a resource loader for resources in the class path.
Since:
2.0
Author:
Laurent Jourdren
  • Constructor Details

    • ClassPathResourceLoader

      public ClassPathResourceLoader(Class<S> clazz, String resourcePath)
      Constructor.
      Parameters:
      clazz - the Class type of the resource to load
      resourcePath - the path in the class path where are the resources to load
  • Method Details

    • reload

      public void reload()
      Description copied from interface: ResourceLoader
      Reload the list of available resources.