This interface describes the essential methods that an audio clip must have. AppletContext.getAudioClip() and Applet.getAudioClip() both return an object that implements this interface. The current JDK implementations of this interface only work with sounds encoded in AU format. The AudioClip interface is in the java.applet package only because there is not a better place for it.
public abstract interface AudioClip { // Public Instance Methods public abstract void loop(); public abstract void play(); public abstract void stop(); }
Applet.getAudioClip(), AppletContext.getAudioClip()