Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
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)

Added in API level 1

Creates a new URLStreamHandler instance for the given protocol .

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