- All Superinterfaces:
ResourceQueryable
- All Known Subinterfaces:
JVMPluginResource
Represents a resource provided by a
locator
.-
Method Summary
Methods inherited from interface org.spongepowered.plugin.ResourceQueryable
locateResource, openResource
-
Method Details
-
locator
String locator()- Returns:
- The name of the
service
that located this resource
-
path
Path path()- Returns:
- The path where this resource originates from
-
property
- Parameters:
key
- The key- Returns:
- The value or
Optional.empty()
if not found
-