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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()abstract InputStreamImplementations of this method should return anInputStreamallowing 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 anInputStreamallowing 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.
-