Java™ Platform
Standard Ed. 6

Uses of Class

Packages that use MalformedURLException Provides for system input and output through data streams, serialization and the file system. 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. Interfaces for remote access to JMX MBean servers. 

Uses of MalformedURLException in

Methods in that throw MalformedURLException
 URL File.toURL()
          Deprecated. This method does not automatically escape characters that are illegal in URLs. It is recommended that new code convert an abstract pathname into a URL by first converting it into a URI, via the toURI method, and then converting the URI into a URL via the URI.toURL method.

Uses of MalformedURLException in

Methods in that throw MalformedURLException
          Constructs a URL from this URI.

Constructors in that throw MalformedURLException
JarURLConnection(URL url)
          Creates the new JarURLConnection to the specified URL.
URL(String spec)
          Creates a URL object from the String representation.
URL(String protocol, String host, int port, String file)
          Creates a URL object from the specified protocol, host, port number, and file.
URL(String protocol, String host, int port, String file, URLStreamHandler handler)
          Creates a URL object from the specified protocol, host, port number, file, and handler.
URL(String protocol, String host, String file)
          Creates a URL from the specified protocol name, host name, and file name.
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.

Uses of MalformedURLException in java.rmi

Methods in java.rmi that throw MalformedURLException
static void Naming.bind(String name, Remote obj)
          Binds the specified name to 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.

Uses of MalformedURLException in java.rmi.server

Methods in java.rmi.server that throw MalformedURLException
static ClassLoader RMIClassLoader.getClassLoader(String codebase)
          Returns a class loader that loads classes from the given codebase URL path.
abstract  ClassLoader RMIClassLoaderSpi.getClassLoader(String codebase)
          Provides the implementation for RMIClassLoader.getClassLoader(String).
 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.
static Class<?> RMIClassLoader.loadClass(String codebase, String name, ClassLoader defaultLoader)
          Loads a class from a codebase URL path, optionally using the supplied loader.
abstract  Class<?> RMIClassLoaderSpi.loadClass(String codebase, String name, ClassLoader defaultLoader)
          Provides the implementation for RMIClassLoader.loadClass(URL,String), RMIClassLoader.loadClass(String,String), and RMIClassLoader.loadClass(String,String,ClassLoader).
 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.
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.
abstract  Class<?> RMIClassLoaderSpi.loadProxyClass(String codebase, String[] interfaces, ClassLoader defaultLoader)
          Provides the implementation for RMIClassLoader.loadProxyClass(String,String[],ClassLoader).

Uses of MalformedURLException in

Constructors in that throw MalformedURLException
JMXServiceURL(String serviceURL)
          Constructs a JMXServiceURL by parsing a Service URL string.
JMXServiceURL(String protocol, String host, int port)
          Constructs a JMXServiceURL with the given protocol, host, and port.
JMXServiceURL(String protocol, String host, int port, String urlPath)
          Constructs a JMXServiceURL with the given parts.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.

Scripting on this page tracks web page traffic, but does not change the content in any way.