|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.asset.plugins.ZipLocator
public class ZipLocator
ZipLocator
is a locator that looks up resources in a .ZIP file.
Constructor Summary | |
---|---|
ZipLocator()
|
Method Summary | |
---|---|
AssetInfo |
locate(AssetManager manager,
AssetKey key)
Request to locate an asset. |
void |
setRootPath(java.lang.String rootPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipLocator()
Method Detail |
---|
public void setRootPath(java.lang.String rootPath)
setRootPath
in interface AssetLocator
rootPath
- 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 |