org.zeroturnaround.javarebel.ResourceSource Maven / Gradle / Ivy
package org.zeroturnaround.javarebel;
/**
* A resource finder.
*
* There can exist several resources with the same name.
*
* @author Rein Raudjärv
*
* @see ClassResourceSource
*/
public interface ResourceSource {
/**
* Finds the resource with the given name.
*
* @param name The name of a resource is a '/'-separated path name that identifies the resource.
*
* @return found resource or null
if nothing found.
*/
public Resource getLocalResource(String name);
/**
* Finds all the resources with the given name.
*
* @param name The name of a resource is a '/'-separated path name that identifies the resource.
*
* @return found resources or null
if nothing found.
*/
public Resource[] getLocalResources(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy