public abstract class SoundbankResource extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SoundbankResource(Soundbank soundbank,
java.lang.String name,
java.lang.Class<?> dataClass)
Create a SoundbankResource object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
getData()
Get the audio data for this resource.
|
java.lang.Class<?> |
getDataClass()
Get the class used to represent the audio data for this resource.
|
java.lang.String |
getName()
Get the name of this resource.
|
Soundbank |
getSoundbank()
Get the sound bank containing this resource.
|
protected SoundbankResource(Soundbank soundbank, java.lang.String name, java.lang.Class<?> dataClass)
soundbank - the soundbank object containing this resourcename - the name of the resourcedataClass - the class used to represent the audio datapublic Soundbank getSoundbank()
public java.lang.String getName()
public java.lang.Class<?> getDataClass()
public abstract java.lang.Object getData()