|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.resources.SoundResourceRequest
public class SoundResourceRequest
This is a ResourceRequest for a Sound resource to be loaded with ExtensionSoundLoader.
| Constructor Summary | |
|---|---|
SoundResourceRequest(java.lang.String name,
java.lang.String bagName)
Creates a new TextureResourceRequest. |
|
SoundResourceRequest(java.lang.String name,
java.lang.String bagName,
SoundLoader loader)
Creates a new TextureResourceRequest. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBagName()
|
java.lang.String |
getName()
|
SoundLoader |
getSoundLoader()
|
java.lang.Object |
loadResource(ResourceLocator resLoc,
ResourceBag resBag)
Loads the resource and stores it into the ResourceBag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoundResourceRequest(java.lang.String name,
java.lang.String bagName,
SoundLoader loader)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagloader - the SoundLoader to use for loading this Sound resource
public SoundResourceRequest(java.lang.String name,
java.lang.String bagName)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBag| Method Detail |
|---|
public final java.lang.String getName()
getName in interface org.jagatoo.datatypes.NamedObjectgetName in interface ResourceRequestpublic final java.lang.String getBagName()
getBagName in interface ResourceRequestpublic final SoundLoader getSoundLoader()
public java.lang.Object loadResource(ResourceLocator resLoc,
ResourceBag resBag)
throws java.io.IOException
ResourceBag.
loadResource in interface ResourceRequestresLoc - the ResourceLocator to load resources fromresBag - the ResourceBag to store the loaded resource to
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||