Class 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 Detail

      • 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