Package com.jme3.asset
Class AssetInfo
java.lang.Object
com.jme3.asset.AssetInfo
- Direct Known Subclasses:
AndroidLocator.AndroidAssetInfo
,StreamAssetInfo
,UrlAssetInfo
The result of locating an asset through an AssetKey. Provides
a means to read the asset data through an InputStream.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
abstract InputStream
Implementations of this method should return anInputStream
allowing access to the data represented by theAssetKey
.toString()
-
Field Details
-
manager
-
key
-
-
Constructor Details
-
AssetInfo
-
-
Method Details
-
getKey
-
getManager
-
toString
-
openStream
Implementations of this method should return anInputStream
allowing access to the data represented by theAssetKey
.Each invocation of this method should return a new stream to the asset data, starting at the beginning of the file.
- Returns:
- The asset data.
-