Package net.sourceforge.jnlp.runtime
Class AppletAudioClip
java.lang.Object
net.sourceforge.jnlp.runtime.AppletAudioClip
- All Implemented Interfaces:
AudioClip
An applet audio clip using the javax.sound API.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AppletAudioClip
Creates new AudioClip. If the clip cannot be opened no exception is thrown, instead the methods of the AudioClip return without performing any operations.- Parameters:
location
- the clip location
-
-
Method Details
-
loop
public void loop()Plays the clip in a continuous loop until the stop method is called. -
play
public void play()Plays the clip from the beginning. -
stop
public void stop()Stops playing the clip.
-