APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.image

public Class URLImageSource

extends InputStreamImageSource
Class Inheritance
Imports
java.io.InputStream, .IOException, java.net.HttpURLConnection, .URL, .URLConnection, .MalformedURLException

Field Summary

Modifier and TypeField and Description
pack-priv String
pack-priv int
pack-priv URLConnection
pack-priv URL
Inherited from sun.awt.image.InputStreamImageSource:
awaitingFetchconsumersdecoderdecoders

Constructor Summary

AccessConstructor and Description
public
public
public
public

Method Summary

Modifier and TypeMethod and Description
private synchronized URLConnection
protected ImageDecoder
private static URL
newURL(URL context, String spec)

Inherited from sun.awt.image.InputStreamImageSource:
addConsumeraddConsumercountConsumerscountConsumersdecoderForTypedoFetchdoneDecodingflushgetDecoderisConsumerlatchConsumersprintQueueprintQueuesremoveConsumerrequestTopDownLeftRightResendstartProduction

Field Detail

actualHostback to summary
pack-priv String actualHost
actualPortback to summary
pack-priv int actualPort
connback to summary
pack-priv URLConnection conn
urlback to summary
pack-priv URL url

Constructor Detail

URLImageSourceback to summary
public URLImageSource(URL u)
URLImageSourceback to summary
public URLImageSource(String href) throws MalformedURLException
URLImageSourceback to summary
public URLImageSource(URL u, URLConnection uc)
URLImageSourceback to summary
public URLImageSource(URLConnection uc)

Method Detail

getConnectionback to summary
private synchronized URLConnection getConnection() throws IOException
getDecoderback to summary
protected ImageDecoder getDecoder()

Implements abstract sun.awt.image.InputStreamImageSource.getDecoder.

newURLback to summary
private static URL newURL(URL context, String spec) throws MalformedURLException
Annotations
@SuppressWarnings:deprecation