java.lang.Comparable<IResourceName>public interface IResourceName extends java.lang.Comparable<IResourceName>
Constants.RESOURCE_SEPARATOR, followed by the actual
resource name. New resource names can be created using RockBottomAPI.createRes(IMod, String) or RockBottomAPI.createRes(String).
Creating a custom implementation of this class is discouraged.| Modifier and Type | Method | Description |
|---|---|---|
IResourceName |
addPrefix(java.lang.String prefix) |
Returns a new resource name with the given prefix added to the front of
the resource.
|
IResourceName |
addSuffix(java.lang.String suffix) |
Returns a new resource name with the given suffix added to the end of the
resource.
|
java.lang.String |
getDomain() |
Returns the domain of this resource name.
|
java.lang.String |
getResourceName() |
Returns the name of this resource
|
java.lang.String getDomain()
getResourceName(),
Constants.RESOURCE_SEPARATORjava.lang.String getResourceName()
getDomain(),
Constants.RESOURCE_SEPARATORIResourceName addPrefix(java.lang.String prefix)
prefix - The prefix to addIResourceName addSuffix(java.lang.String suffix)
suffix - The suffix to add