All About INTERFACE URLStreamHandlerFactory in Java




This INTERFACE URLStreamHandlerFactory defines a factory for URL stream protocol handlers.It is used by URL class to create a URL Stream handler for a specific protocol.
The structure of the class URLStreamHandlerFactory is defined as:

public interface java.net.URLStreamHandlerFactory{
//methods
public abstract URLStreamHandler createURLStreamHandler(String protocol);
//returns a url stream handler for the specific protocol like ftp,http etc

}
 
All About INTERFACE URLStreamHandlerFactory in Java All About INTERFACE URLStreamHandlerFactory in Java Reviewed by Animesh Chatterjee on October 04, 2018 Rating: 5

No comments:

Powered by Blogger.