| Package | Description | 
|---|---|
| java.io | Provides for system input and output through data streams,
serialization and the file system. | 
| java.net | Provides the classes for implementing networking applications. | 
| java.rmi | Provides the RMI package. | 
| java.rmi.server | Provides classes and interfaces for supporting the server
side of RMI. | 
| javax.management.remote | Interfaces for remote access to
        JMX MBean servers. | 
| Modifier and Type | Method and Description | 
|---|---|
| URL | File. toURL() | 
| Modifier and Type | Method and Description | 
|---|---|
| URL | URI. toURL()Constructs a URL from this URI. | 
| Constructor and Description | 
|---|
| JarURLConnection(URL url)Creates the new JarURLConnection to the specified URL. | 
| URL(String spec)Creates a  URLobject from theStringrepresentation. | 
| URL(String protocol,
   String host,
   int port,
   String file)Creates a  URLobject from the specifiedprotocol,host,portnumber, andfile. | 
| URL(String protocol,
   String host,
   int port,
   String file,
   URLStreamHandler handler)Creates a  URLobject from the specifiedprotocol,host,portnumber,file, andhandler. | 
| URL(String protocol,
   String host,
   String file)Creates a URL from the specified  protocolname,hostname, andfilename. | 
| URL(URL context,
   String spec)Creates a URL by parsing the given spec within a specified context. | 
| URL(URL context,
   String spec,
   URLStreamHandler handler)Creates a URL by parsing the given spec with the specified handler
 within a specified context. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | Naming. bind(String name,
    Remote obj)Binds the specified  nameto a remote object. | 
| static String[] | Naming. list(String name)Returns an array of the names bound in the registry. | 
| static Remote | Naming. lookup(String name)Returns a reference, a stub, for the remote object associated
 with the specified  name. | 
| static void | Naming. rebind(String name,
      Remote obj)Rebinds the specified name to a new remote object. | 
| static void | Naming. unbind(String name)Destroys the binding for the specified name that is associated
 with a remote object. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ClassLoader | RMIClassLoaderSpi. getClassLoader(String codebase)Provides the implementation for
  RMIClassLoader.getClassLoader(String). | 
| static ClassLoader | RMIClassLoader. getClassLoader(String codebase)Returns a class loader that loads classes from the given codebase
 URL path. | 
| Class<?> | LoaderHandler. loadClass(String name)Deprecated. 
 no replacement | 
| static Class<?> | RMIClassLoader. loadClass(String name)Deprecated. 
 replaced by  loadClass(String,String)method | 
| static Class<?> | RMIClassLoader. loadClass(String codebase,
         String name)Loads a class from a codebase URL path. | 
| abstract Class<?> | RMIClassLoaderSpi. loadClass(String codebase,
         String name,
         ClassLoader defaultLoader)Provides the implementation for
  RMIClassLoader.loadClass(URL,String),RMIClassLoader.loadClass(String,String), andRMIClassLoader.loadClass(String,String,ClassLoader). | 
| static Class<?> | RMIClassLoader. loadClass(String codebase,
         String name,
         ClassLoader defaultLoader)Loads a class from a codebase URL path, optionally using the
 supplied loader. | 
| Class<?> | LoaderHandler. loadClass(URL codebase,
         String name)Deprecated. 
 no replacement | 
| static Class<?> | RMIClassLoader. loadClass(URL codebase,
         String name)Loads a class from a codebase URL. | 
| abstract Class<?> | RMIClassLoaderSpi. loadProxyClass(String codebase,
              String[] interfaces,
              ClassLoader defaultLoader)Provides the implementation for
  RMIClassLoader.loadProxyClass(String,String[],ClassLoader). | 
| static Class<?> | RMIClassLoader. loadProxyClass(String codebase,
              String[] interfaces,
              ClassLoader defaultLoader)Loads a dynamic proxy class (see  Proxy)
 that implements a set of interfaces with the given names
 from a codebase URL path. | 
| Constructor and Description | 
|---|
| JMXServiceURL(String serviceURL)Constructs a  JMXServiceURLby parsing a Service URL
 string. | 
| JMXServiceURL(String protocol,
             String host,
             int port)Constructs a  JMXServiceURLwith the given protocol,
 host, and port. | 
| JMXServiceURL(String protocol,
             String host,
             int port,
             String urlPath)Constructs a  JMXServiceURLwith the given parts. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.