java.lang.Object | |
↳ | com.carto.utils.AssetPackage |
![]() |
An abstract asset package class. Contains methods to list and load assets.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
StringVector |
getAssetNames()
Returns list of assets in the asset package.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
BinaryData |
loadAsset(String name)
Loads the specified asset from the asset package.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns list of assets in the asset package.
All listed assets can read using loadAsset API.
Returns the hash value of this object.
Loads the specified asset from the asset package.
name | The asset name to read. |
---|