|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.util.sound.SoundRegistry
public final class SoundRegistry
SoundRegistry is used to provide a directory for registering SoundProviders that are used to decode different sound formats.
| Method Summary | |
|---|---|
static SoundDecoder |
getSoundProvider(String mimeType)
Get an instance of the class that can be used to decode a sound of the specified format. |
static void |
registerProvider(String mimeType,
SoundProvider decoder)
Register an SoundDecoder to handle images in the specified format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerProvider(String mimeType,
SoundProvider decoder)
mimeType - the string identifying the image format.decoder - any class that implements the SoundDecoder interface.public static SoundDecoder getSoundProvider(String mimeType)
mimeType - the string representing the format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||