to top
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.