org.pscode.xui.sound.io
Class SoundIO

java.lang.Object
  extended by org.pscode.xui.sound.io.SoundIO

public class SoundIO
extends Object


Constructor Summary
SoundIO()
           
 
Method Summary
static Clip getClipFromURL(URL url, Container parent)
          The SPI interface fails when loading sound by streams.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundIO

public SoundIO()
Method Detail

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