public class

basic

extends ContentHandler
java.lang.Object
   ↳ java.net.ContentHandler
     ↳ sun.net.www.content.audio.basic

Class Overview

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

Summary

Public Constructors
basic()
Public Methods
Object getContent(URLConnection uc)
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.
[Expand]
Inherited Methods
From class java.net.ContentHandler
From class java.lang.Object

Public Constructors

public basic ()

Public Methods

public Object getContent (URLConnection uc)

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.

Parameters
uc a URL connection.
Returns
  • the object read by the ContentHandler.
Throws
IOException