org.pscode.xui.sound.io
Class SoundIO
java.lang.Object
org.pscode.xui.sound.io.SoundIO
public class SoundIO
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundIO
public SoundIO()
getClipFromURL
public static Clip getClipFromURL(URL url,
Container parent)
throws IOException,
UnsupportedAudioFileException,
LineUnavailableException
- The SPI interface fails when loading sound by streams. For this reason,
a JNLP based FileContents is impractical for our purposes.
- Throws:
IOException
UnsupportedAudioFileException
LineUnavailableException