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

public Class basic

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

Basic .au and .snd audio handler returns an JavaSoundAudioClip object.

This provides backwards compatibility with the behavior of ClassLoader.getResource().getContent() on JDK1.1.

Author
Jeff Nisewanger

Constructor Summary

AccessConstructor and Description
public

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

basicback to summary
public basic()

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.