Class URLStreamHandlerFactory

  • All Implemented Interfaces:
    URLStreamHandlerFactory

    public class URLStreamHandlerFactory
    extends Object
    implements URLStreamHandlerFactory
    This URLStreamHandlerFactory knows about all the plugins in use and thus can create the correct URLStreamHandler even if it comes from a plugin classpath. As the JVM allows only one instance of URLStreamHandlerFactory to be registered, this class implements a singleton pattern.
    Author:
    Hiran Chaudhuri
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
      • SYSTEM_PROTOCOLS

        public static final String[] SYSTEM_PROTOCOLS
        Protocols covered by standard JVM URL handlers. These protocols must not be handled by Nutch plugins, in order to avoid that basic actions (eg. loading of classes and configuration files) break.