public interface

URLStreamHandlerFactory

java.net.URLStreamHandlerFactory

Class Overview

Defines a factory which creates an URLStreamHandler for a specified protocol. It is used by the class URL.

Summary

Public Methods
abstract URLStreamHandler createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance for the given protocol.

Public Methods

public abstract URLStreamHandler createURLStreamHandler (String protocol)

Creates a new URLStreamHandler instance for the given protocol.

Parameters
protocol the protocol for which a handler is needed.
Returns
  • the created handler.