Java Platform 1.2
Beta 4

Uses of Class
java.net.URL

Packages that use URL
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.event Provides for events fired by Swing components.  
com.sun.java.swing.text.html Provides the class (HTMLEditorKit) and supporting classes for creating HTML text editors.  
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.  
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
java.beans.beancontext Provides classes and interfaces relating to bean context.  
java.io Provides for system input and output through data streams, serialization and the file system.  
java.lang Provides classes that are fundamental to the design of the Java programming language.  
java.net Provides the classes for implementing networking applications.  
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. A group of classes are used by the stubs and skeletons generated by the rmic stub compiler.  
java.security Provides the classes and interfaces for the security framework.  
 

Uses of URL in com.sun.java.swing
 

Methods in com.sun.java.swing that return URL
 URL JEditorPane.getPage()
          Gets the current url being displayed.
 

Methods in com.sun.java.swing with parameters of type URL
 void JEditorPane.setPage(URL page)
          Sets the current url being displayed.
 

Constructors in com.sun.java.swing with parameters of type URL
ImageIcon.ImageIcon(URL location, String description)
          Creates an ImageIcon from the specified URL. The image will be preloaded by using MediaTracker to monitor the loaded state of the image.
ImageIcon.ImageIcon(URL location)
          Creates an ImageIcon from the specified URL. The image will be preloaded by using MediaTracker to monitor the loaded state of the image.
JEditorPane.JEditorPane(URL initialPage)
          Creates a JEditorPane based on a specified URL for input.
 

Uses of URL in com.sun.java.swing.event
 

Methods in com.sun.java.swing.event that return URL
 URL HyperlinkEvent.getURL()
          Gets the URL that the link refers to.
 

Constructors in com.sun.java.swing.event with parameters of type URL
HyperlinkEvent.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u)
          Creates a new object representing a hypertext link event.
HyperlinkEvent.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL u, String desc)
          Creates a new object representing a hypertext link event.
 

Uses of URL in com.sun.java.swing.text.html
 

Methods in com.sun.java.swing.text.html that return URL
 URL HTMLDocument.getBase()
          Get the location to resolve relative url's against.
 

Methods in com.sun.java.swing.text.html with parameters of type URL
 void StyleSheet.loadRules(Reader in, URL ref)
          Load a set of rules that have been specified in terms of CSS1 grammar.
 void HTMLDocument.setBase(URL u)
          Set the location to resolve relative url's against.
 

Uses of URL in java.applet
 

Methods in java.applet that return URL
 URL Applet.getDocumentBase()
          Gets the document URL. This is the URL of the document in which the applet is embedded.
 URL Applet.getCodeBase()
          Gets the base URL. This is the URL of the applet itself.
 URL AppletStub.getDocumentBase()
          Gets the document URL.
 URL AppletStub.getCodeBase()
          Gets the base URL.
 

Methods in java.applet with parameters of type URL
 Image Applet.getImage(URL url)
          Returns an Image object that can then be painted on the screen.
 Image Applet.getImage(URL url, String name)
          Returns an Image object that can then be painted on the screen.
static AudioClip Applet.newAudioClip(URL url)
          Get an audio clip from the given URL
 AudioClip Applet.getAudioClip(URL url)
          Returns the AudioClip object specified by the URL argument.
 AudioClip Applet.getAudioClip(URL url, String name)
          Returns the AudioClip object specified by the URL and name arguments.
 void Applet.play(URL url)
          Plays the audio clip at the specified absolute URL. Nothing happens if the audio clip cannot be found.
 void Applet.play(URL url, String name)
          Plays the audio clip given the URL and a specifier that is relative to it.
 AudioClip AppletContext.getAudioClip(URL url)
          Creates an audio clip.
 Image AppletContext.getImage(URL url)
          Returns an Image object that can then be painted on the screen.
 void AppletContext.showDocument(URL url)
          Replaces the Web page currently being viewed with the given URL. This method may be ignored by applet contexts that are not browsers.
 void AppletContext.showDocument(URL url, String target)
          Requests that the browser or applet viewer show the Web page indicated by the url argument.
 

Uses of URL in java.awt
 

Methods in java.awt with parameters of type URL
abstract  Image Toolkit.getImage(URL url)
          Returns an image which gets pixel data from the specified URL.
 

Uses of URL in java.beans.beancontext
 

Methods in java.beans.beancontext that return URL
 URL BeanContextSupport.getResource(String name, BeanContextChild bcc)
           
 URL BeanContext.getResource(String name, BeanContextChild bcc)
           
 

Uses of URL in java.io
 

Methods in java.io that return URL
 URL File.toURL()
          Converts this abstract pathname into a file: URL. The exact form of the URL is system-dependent.
 

Uses of URL in java.lang
 

Methods in java.lang that return URL
 URL ClassLoader.getResource(String name)
          Finds the resource with the given name.
protected  URL ClassLoader.findResource(String name)
          Finds the resource with the given name.
static URL ClassLoader.getSystemResource(String name)
          Find a resource of the specified name from the search path used to load classes.
 URL Class.getResource(String name)
           
 

Methods in java.lang with parameters of type URL
protected  Package ClassLoader.definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)
          Defines a package by name in this ClassLoader.
 boolean Package.isSealed(URL url)
          Returns true if this package is sealed with respect to the specified code source url.
 

Uses of URL in java.net
 

Fields in java.net declared as URL
protected  URL URLConnection.url
          The URL represents the remote object on the World Wide Web to which this connection is opened.
 

Methods in java.net that return URL
 URL URLConnection.getURL()
          Returns the value of this URLConnection's URL field.
 URL JarURLConnection.getJarFileURL()
          Returns the URL for the Jar file for this connection.
 URL[] URLClassLoader.getURLs()
          Returns the search path of URLs for loading classes and resources.
 URL URLClassLoader.findResource(String name)
          Finds the resource with the specified name on the URL search path.
 

Methods in java.net with parameters of type URL
protected abstract  URLConnection URLStreamHandler.openConnection(URL u)
          Opens a connection to the object referenced by the URL argument.
protected  void URLStreamHandler.parseURL(URL u, String spec, int start, int limit)
          Parses the string representation of a URL into a URL object.
protected  String URLStreamHandler.toExternalForm(URL u)
          Converts a URL of a specific protocol to a String.
protected  void URLStreamHandler.setURL(URL u, String protocol, String host, int port, String file, String ref)
          Sets the fields of the URL argument to the indicated values.
 boolean URL.sameFile(URL other)
          Compares two URLs, excluding the "ref" fields.
protected  void URLClassLoader.addURL(URL url)
          Appends the specified URL to the list of URLs to search for classes and resources.
protected  Package URLClassLoader.definePackage(String name, Manifest man, URL url)
          Defines a new package by name in this ClassLoader.
static URLClassLoader URLClassLoader.newInstance(URL[] urls, ClassLoader parent)
          Creates a new instance of URLClassLoader for the specified URLs and parent class loader.
static URLClassLoader URLClassLoader.newInstance(URL[] urls)
          Creates a new instance of URLClassLoader for the specified URLs and default parent class loader.
 

Constructors in java.net with parameters of type URL
URLConnection.URLConnection(URL url)
          Constructs a URL connection to the specified URL. A connection to the object referenced by the URL is not created.
JarURLConnection.JarURLConnection(URL url)
           
HttpURLConnection.HttpURLConnection(URL u)
          Constructor for the URLStreamHandler.
URL.URL(URL context, String spec)
          Creates a URL by parsing the specification spec within a specified context.
URLClassLoader.URLClassLoader(URL[] urls, ClassLoader parent)
          Constructs a new URLClassLoader for the given URLs.
URLClassLoader.URLClassLoader(URL[] urls)
          Constructs a new URLClassLoader for the specified URLs using the default delegation parent ClassLoader.
 

Uses of URL in java.rmi.server
 

Methods in java.rmi.server with parameters of type URL
 Class LoaderHandler.loadClass(URL codebase, String name)
          Deprecated. Load a class from a URL.
static Class RMIClassLoader.loadClass(URL codebase, String name)
          Load a class from a codebase URL.
 

Uses of URL in java.security
 

Methods in java.security that return URL
 URL CodeSource.getLocation()
          Returns the location associated with this CodeSource.
 

Constructors in java.security with parameters of type URL
CodeSource.CodeSource(URL url, Certificate[] certs)
          Constructs a CodeSource and associates it with the specified location and set of certificates.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.