|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.asset.AssetInfo
com.jme3.asset.plugins.UrlAssetInfo
public class UrlAssetInfo
Handles loading of assets from a URL
Field Summary |
---|
Fields inherited from class com.jme3.asset.AssetInfo |
---|
key, manager |
Method Summary | |
---|---|
static UrlAssetInfo |
create(AssetManager assetManager,
AssetKey key,
java.net.URL url)
|
boolean |
hasInitialConnection()
|
java.io.InputStream |
openStream()
Implementations of this method should return an InputStream
allowing access to the data represented by the AssetKey . |
Methods inherited from class com.jme3.asset.AssetInfo |
---|
getKey, getManager, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static UrlAssetInfo create(AssetManager assetManager, AssetKey key, java.net.URL url) throws java.io.IOException
java.io.IOException
public boolean hasInitialConnection()
public java.io.InputStream openStream()
AssetInfo
InputStream
allowing access to the data represented by the AssetKey
.
Each invocation of this method should return a new stream to the asset data, starting at the beginning of the file.
openStream
in class AssetInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |