Package org.zeroturnaround.javarebel
Interface ResourceSource
- All Known Subinterfaces:
ClassResourceSource
public interface ResourceSource
A resource finder.
There can exist several resources with the same name.
- Author:
- Rein Raudjärv
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLocalResource(String name) Finds the resource with the given name.Resource[]getLocalResources(String name) Finds all the resources with the given name.
-
Method Details
-
getLocalResource
Finds the resource with the given name.- Parameters:
name- The name of a resource is a '/'-separated path name that identifies the resource.- Returns:
- found resource or
nullif nothing found.
-
getLocalResources
Finds all the resources with the given name.- Parameters:
name- The name of a resource is a '/'-separated path name that identifies the resource.- Returns:
- found resources or
nullif nothing found.
-