Package com.jme3.asset
Class StreamAssetInfo
java.lang.Object
com.jme3.asset.AssetInfo
com.jme3.asset.StreamAssetInfo
An
AssetInfo
wrapper for InputStreams
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionStreamAssetInfo
(AssetManager assetManager, AssetKey<?> assetKey, InputStream inputStream) -
Method Summary
Modifier and TypeMethodDescriptionImplementations of this method should return anInputStream
allowing access to the data represented by theAssetKey
.Methods inherited from class com.jme3.asset.AssetInfo
getKey, getManager, toString
-
Constructor Details
-
StreamAssetInfo
-
-
Method Details
-
openStream
Description copied from class:AssetInfo
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.
- Specified by:
openStream
in classAssetInfo
- Returns:
- The asset data.
-