Package java.net Previous
Previous
Java API
Java API
Index
Index
Next
Next

Interface URLStreamHandlerFactory

Methods

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.


Methods


createURLStreamHandler

public abstract URLStreamHandler
createURLStreamHandler(String  protocol) 

Return Value:

Returns a URLStreamHandler for the specific protocol.

ParameterDescription
protocol the protocol ("ftp", "http", "nntp", etc.)



© 1996 Sun Microsystems, Inc. All rights reserved.