|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.huguesjohnson.tiamat.audio.AudioPlayerFactory
public abstract class AudioPlayerFactory
AudioPlayerFactory - Abstract factory to select an appropriate AudioPlayer for a given file
Constructor Summary | |
---|---|
AudioPlayerFactory()
|
Method Summary | |
---|---|
static AudioPlayer |
getAudioPlayerFor(java.lang.String path)
Chooses an appropriate AudioPlayer for the given file, throws UnsupportedAudioFormatException if one can not be found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AudioPlayerFactory()
Method Detail |
---|
public static final AudioPlayer getAudioPlayerFor(java.lang.String path) throws UnsupportedAudioFormatException
path
- The full path of the file to play.
UnsupportedAudioFormatException
- If an AudioPlayer can not be found for the file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |