APIdia Launch Partner
Top Description Constructors Methods
sun.awt.www.content.audio

public Class wav

extends ContentHandler
Class Inheritance
Imports
java.io.IOException, java.net.ContentHandler, .URLConnection, com.sun.media.sound.JavaSoundAudioClip

Basic .wav audio handler returns an JavaSoundAudioClip object.
Author
Jeff Nisewanger

Constructor Summary

AccessConstructor and Description
public
wav()

Method Summary

Modifier and TypeMethod and Description
public Object
getContent(URLConnection uc)

Implements abstract java.net.ContentHandler.getContent.

Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it.

Inherited from java.net.ContentHandler:
getContent

Constructor Detail

wavback to summary
public wav()

Method Detail

getContentback to summary
public Object getContent(URLConnection uc) throws IOException

Implements abstract java.net.ContentHandler.getContent.

Doc from java.net.ContentHandler.getContent.

Given a URL connect stream positioned at the beginning of the representation of an object, this method reads that stream and creates an object from it.

Exceptions
IOException:
if an I/O error occurs while reading the object.