| Package java.net |
Previous |
Java API |
Index |
Next |
public interface java.net.URLStreamHandlerFactory
{
// Methods
public abstract URLStreamHandler
createURLStreamHandler(String protocol);
}
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.
public abstract URLStreamHandler createURLStreamHandler(String protocol)Return Value:
Returns a URLStreamHandler for the specific protocol.
Parameter Description protocol the protocol ("ftp", "http", "nntp", etc.)
| © 1996 Sun Microsystems, Inc. All rights reserved. |