Package com.jme3.asset.plugins
Class UrlAssetInfo
java.lang.Object
com.jme3.asset.AssetInfo
com.jme3.asset.plugins.UrlAssetInfo
Handles loading of assets from a URL
- 
Field Summary
- 
Method SummaryModifier and TypeMethodDescriptionstatic UrlAssetInfocreate(AssetManager assetManager, AssetKey key, URL url) booleanImplementations of this method should return anInputStreamallowing access to the data represented by theAssetKey.Methods inherited from class com.jme3.asset.AssetInfogetKey, getManager, toString
- 
Method Details- 
createpublic static UrlAssetInfo create(AssetManager assetManager, AssetKey key, URL url) throws IOException - Throws:
- IOException
 
- 
hasInitialConnectionpublic boolean hasInitialConnection()
- 
openStreamDescription copied from class:AssetInfoImplementations 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. - Specified by:
- openStreamin class- AssetInfo
- Returns:
- The asset data.
 
 
-