Class AppletAudioClip
java.lang.Object
net.sourceforge.jnlp.runtime.AppletAudioClip
- All Implemented Interfaces:
AudioClip
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voiddispose()Stops playing the clip and disposes it; the clip cannot be played after being disposed.voidloop()Plays the clip in a continuous loop until the stop method is called.voidplay()Plays the clip from the beginning.voidstop()Stops playing the clip.
-
Field Details
-
LOG
-
clip
the clip
-
-
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
-
play
-
stop
-
dispose
void dispose()Stops playing the clip and disposes it; the clip cannot be played after being disposed.
-