java.net.URLStreamHandler (JDK 1.0)
This abstract class defines the openConnection() method that creates a URLConnection for a given URL. A separate subclass of this class may be defined for various URL protocol types. A URLStreamHandler is created by a URLStreamHandlerFactory.
Normal applications never need to use or subclass this class.
public abstract classURLStreamHandlerextends Object { //Default Constructor: public URLStreamHandler()//Protected Instance Methodsprotected abstract URLConnectionopenConnection(URLu) throws IOException; protected voidparseURL(URLu, Stringspec, intstart, intlimit); protected voidsetURL(URLu, Stringprotocol, Stringhost, intport, Stringfile, Stringref); protected StringtoExternalForm(URLu); }
Returned By:
URLStreamHandlerFactory.createURLStreamHandler()