All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zeroturnaround.javarebel.ResourceSource Maven / Gradle / Ivy

There is a newer version: 3.0-M1
Show newest version
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