javax.sound.midi
public abstract class SoundbankResource extends Object
Since: 1.3
Constructor Summary | |
---|---|
protected | SoundbankResource(Soundbank soundbank, String name, Class<?> dataClass)
Create a SoundbankResource object.
|
Method Summary | |
---|---|
abstract Object | getData()
Get the audio data for this resource.
|
Class<?> | getDataClass()
Get the class used to represent the audio data for this resource.
|
String | getName()
Get the name of this resource.
|
Soundbank | getSoundbank()
Get the sound bank containing this resource.
|
Parameters: soundbank the soundbank object containing this resource name the name of the resource dataClass the class used to represent the audio data
Returns: the audio data object for this resource
Returns: the class used to represent the audio data for this resource
Returns: the name of this resource
Returns: the sound bank in which this resource resides