Uses of Class java.net.URL

Uses in package java.rmi.server

Methods with parameter type java.net.URL

Class
LoaderHandler.loadClass(URL codebase, String name)
Class
Loads a class from codeBase.

Uses in package javax.imageio

Methods with parameter type java.net.URL

BufferedImage
ImageIO.read(URL input)
Create a buffered image from a URL.

Uses in package java.sql

Methods with parameter type java.net.URL

void
PreparedStatement.setURL(int index, URL value)
This method sets the specified parameter from the given Java java.net.URL value.
void
This method sets the value of the specified parameter to the specified java.net.URL
void
This method writes the specified java.net.URL object to the SQL stream.

Methods with return type java.net.URL

URL
This method returns the value of the specified parameter as a Java java.net.URL.
URL
ResultSet.getURL(int columnIndex)
This method returns the specified column value as a java.net.URL.
URL
This method returns the value of the specified parameter as a Java java.net.URL.
URL
ResultSet.getURL(String columnName)
This method returns the specified column value as a java.net.URL.
URL

Uses in package java.awt

Methods with parameter type java.net.URL

Image
Image
Returns an image from the specified URL, which must be in a recognized format.

Uses in package javax.sound.sampled.spi

Methods with parameter type java.net.URL

AudioFileFormat
Return the format of the given URL as deduced by this provider.
AudioInputStream
Return an AudioInputStream for the given URL.

Uses in package javax.swing.text.html

Constructors with parameter type java.net.URL

Creates a new hypertext link event.
Creates a new hypertext link event.
Creates a new hypertext link event.
Creates a new hypertext link event.

Methods with parameter type java.net.URL

void
Imports a style sheet from the url.
void
Loads a set of rules that have been specified in terms of CSS grammar.
void
Sets the location against which to resolve relative URLs.
void
Sets the base url.

Methods with return type java.net.URL

URL
Returns the location against which to resolve relative URLs.
URL
Gets the base url.
URL
Get the URL location of the image to render.

Uses in package java.io

Methods with return type java.net.URL

URL
This method returns a URL with the file: protocol that represents this file.

Uses in package javax.sound.midi

Methods with parameter type java.net.URL

MidiFileFormat
Read a MidiFileFormat object from the given url.
Sequence
Read a Sequence object from the given url.
Soundbank
Read a Soundbank object from the given url.

Uses in package java.beans.beancontext

Methods with return type java.net.URL

URL
BeanContext.getResource(String resourceName, BeanContextChild requestor)
Get a resource.
URL
Get a resource.

Uses in package java.lang

Methods with parameter type java.net.URL

Package
ClassLoader.definePackage(String name, String specTitle, String specVendor, String specVersion, String implTitle, String implVendor, String implVersion, URL sealed)
Defines a new package and creates a Package object.
boolean
Returns true if this Package is sealed and the origin of the classes is the given URL.

Methods with return type java.net.URL

URL
Called whenever a resource is needed that could not be provided by one of the parents of this classloader.
URL
Class<T>.getResource(String resourceName)
Get a resource URL using this class's package using the getClassLoader().getResource() method.
URL
Get the URL to a resource using this classloader or one of its parents.
URL
Get the URL to a resource using the system classloader.

Uses in package javax.swing

Constructors with parameter type java.net.URL

Creates an ImageIcon from the given URL and sets the description to the URL String representation.
ImageIcon.ImageIcon(URL url, String description)
Creates an ImageIcon from the given URL and sets the given description.

Methods with parameter type java.net.URL

InputStream
void
Sets the current URL being displayed.

Methods with return type java.net.URL

URL

Uses in package javax.sound.midi.spi

Methods with parameter type java.net.URL

MidiFileFormat
Read a MidiFileFormat from the given stream.
Sequence
Read a Sequence from the given stream.
Soundbank
Get a Soundbank from the given URL.

Uses in package java.net

Constructors with parameter type java.net.URL

Create an HttpURLConnection for the specified URL
Creates a JarURLConnection from an URL object
URL.URL(URL context, String spec)
This method parses a String representation of a URL within the context of an existing URL.
URL.URL(URL context, String spec, URLStreamHandler ph)
Creates an URL from given arguments This method parses a String representation of a URL within the context of an existing URL.
Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URLClassLoader that gets classes from the supplied URLs.
Creates a URL connection to a given URL.

Fields of type java.net.URL

URL
This is the URL associated with this connection

Methods with parameter type java.net.URL

void
Adds a new location to the end of the internal URL store.
Package
Defines a Package based on the given name and the supplied manifest information.
boolean
This is the default method for computing whether two URLs are equivalent.
InetAddress
Get the IP address of our host.
int
Provides the default hash calculation.
boolean
Compares the host components of two URLs.
URLClassLoader
Creates a new instance of a URLClassLoader that gets classes from the supplied URLs.
URLClassLoader
Creates a new instance of a URLClassLoader that gets classes from the supplied URLs and with the supplied loader as parent class loader.
URLConnection
Returns a URLConnection for the passed in URL.
void
URLStreamHandler.parseURL(URL url, String spec, int start, int end)
This method parses the string passed in as a URL and set's the instance data fields in the URL object passed in to the various values parsed out of the string.
boolean
Tests whether or not another URL refers to the same "file" as this one.
boolean
Compares two URLs, excluding the fragment component
void
URLStreamHandler.setURL(URL u, String protocol, String host, int port, String file, String ref)
This methods sets the instance variables representing the various fields of the URL to the values passed in.
void
URLStreamHandler.setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)
Sets the fields of the URL argument to the indicated values
String
This method converts a URL object into a String.

Methods with return type java.net.URL

URL
Finds the first occurrence of a resource that can be found.
URL
This method returns the "real" URL where the JarFile is located.
URL
Returns the URL object associated with this connection
URL[]
Returns all the locations that this class loader currently uses the resolve classes and resource.
URL
Creates an URL from an URI

Uses in package javax.net.ssl

Constructors with parameter type java.net.URL

Creates a new HTTPS URL connection.

Uses in package javax.xml.validation

Methods with parameter type java.net.URL

Schema
Returns a schema based on the specified URL.

Uses in package java.applet

Methods with parameter type java.net.URL

AudioClip
Returns an audio clip from the specified URL.
AudioClip
Returns an audio clip from the specified URL.
AudioClip
Returns an audio clip from the specified absolute URL, and relative path from that URL.
Image
Returns an image from the specified URL.
Image
Returns an image from the specified URL.
Image
Applet.getImage(URL url, String name)
Returns an image from the specified absolute URL, and relative path from that URL.
AudioClip
Returns an audio clip from the specified URL.
void
Loads and plays the audio clip pointed to by the specified URL.
void
Applet.play(URL url, String name)
Loads and plays the audio clip pointed to by the specified absolute URL, and relative path from that URL.
void
Displays the web page pointed to by the specified URL in the window for this object.
void
Displays the web page pointed to be the sepcified URL in the window with the specified name.

Methods with return type java.net.URL

URL
Returns the URL of the code base for this applet.
URL
Returns the URL of the code base for this applet.
URL
Returns the basename URL of the document this applet is embedded in.
URL
Returns the basename URL of the document this applet is embedded in.

Uses in package javax.swing.event

Constructors with parameter type java.net.URL

Creates a new HyperlinkEvent with the given arguments.
Creates a new HyperlinkEvent with the given arguments.
HyperlinkEvent.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, Element element)
Creates a new HyperlinkEvent with the given arguments.

Methods with return type java.net.URL

URL
Returns the URL of this event.

Uses in package javax.sound.sampled

Methods with parameter type java.net.URL

AudioFileFormat
Return the file format of a given URL.
AudioInputStream
Return an audio input stream for the given URL.

Uses in package java.security

Constructors with parameter type java.net.URL

CodeSource.CodeSource(URL location, Certificate[] certs)
This creates a new instance of CodeSource that loads code from the specified URL location and which uses the specified certificates for verifying signatures.

Methods with return type java.net.URL

URL
This method returns the URL specifying the location from which code will be loaded under this CodeSource.