FileDocCategorySizeDatePackage
URLStreamHandlerFactory.javaAPI DocJava SE 5 API1043Fri Aug 26 14:57:08 BST 2005java.net

URLStreamHandlerFactory

public interface URLStreamHandlerFactory
This interface defines a factory for URL stream protocol handlers.

It is used by the URL class to create a URLStreamHandler for a specific protocol.

author
Arthur van Hoff
version
1.18, 12/19/03
see
java.net.URL
see
java.net.URLStreamHandler
since
JDK1.0

Fields Summary
Constructors Summary
Methods Summary
public java.net.URLStreamHandlercreateURLStreamHandler(java.lang.String protocol)
Creates a new URLStreamHandler instance with the specified protocol.

param
protocol the protocol ("ftp", "http", "nntp", etc.).
return
a URLStreamHandler for the specific protocol.
see
java.net.URLStreamHandler