Class SimpleResourceLocator

  • All Implemented Interfaces:
    ResourceLocator

    public class SimpleResourceLocator
    extends Object
    implements ResourceLocator
    Simple ResourceLocator impl using its own ClassLoader to locate the resource
    • Constructor Detail

      • SimpleResourceLocator

        public SimpleResourceLocator()
    • Method Detail

      • locateResource

        public URL locateResource​(String resourceName)
        Description copied from interface: ResourceLocator
        Locate the named resource
        Specified by:
        locateResource in interface ResourceLocator
        Parameters:
        resourceName - The resource name to locate
        Returns:
        The located URL, or null if no match found