|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.asset.plugins.HttpZipLocator
public class HttpZipLocator
Constructor Summary | |
---|---|
HttpZipLocator()
|
Method Summary | |
---|---|
void |
load(java.net.URL url)
|
AssetInfo |
locate(AssetManager manager,
AssetKey key)
Request to locate an asset. |
java.io.InputStream |
openStream(java.lang.String name)
|
void |
setRootPath(java.lang.String path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpZipLocator()
Method Detail |
---|
public void load(java.net.URL url) throws java.io.IOException
java.io.IOException
public java.io.InputStream openStream(java.lang.String name) throws java.io.IOException
java.io.IOException
public void setRootPath(java.lang.String path)
setRootPath
in interface AssetLocator
path
- The root path where to look for assets.
Typically this method will only be called once per
instance of an asset locator.public AssetInfo locate(AssetManager manager, AssetKey key)
AssetLocator
AssetInfo
implementation provided should have a proper
return value for its AssetInfo.openStream()
method.
locate
in interface AssetLocator
AssetInfo
that was located, or null if not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |