public abstract class AbstractAsset extends java.lang.Object implements IAsset
IAsset
implementations. Provides
the location property.Modifier | Constructor and Description |
---|---|
protected |
AbstractAsset(org.apache.hivemind.Resource resourceLocation,
org.apache.hivemind.Location location) |
Modifier and Type | Method and Description |
---|---|
org.apache.hivemind.Location |
getLocation() |
org.apache.hivemind.Resource |
getResourceLocation()
Returns the underlying location of the asset.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
buildURL, getResourceAsStream
protected AbstractAsset(org.apache.hivemind.Resource resourceLocation, org.apache.hivemind.Location location)
public org.apache.hivemind.Location getLocation()
getLocation
in interface org.apache.hivemind.Locatable
public org.apache.hivemind.Resource getResourceLocation()
IAsset
getResourceLocation
in interface IAsset
public java.lang.String toString()
toString
in class java.lang.Object