Package com.ardor3d.util.resource
Interface ResourceLocator
- All Known Implementing Classes:
MultiFormatResourceLocator
,RelativeResourceLocator
,SimpleResourceLocator
public interface ResourceLocator
Interface for locating resources from resource names.
-
Method Summary
Modifier and TypeMethodDescriptionlocateResource
(String resourceName) Locates a resource according to the strategy of the resource locator implementation (subclass).
-
Method Details
-
locateResource
Locates a resource according to the strategy of the resource locator implementation (subclass).- Parameters:
resourceName
- the name of the resource to locate; it this is a path it must be slash separated (no backslashes)- Returns:
- a source for the resource, null if the resource was not found
- See Also:
-