Class CrawlerFactory


  • public class CrawlerFactory
    extends Object
    Factory class to instantiate the different Crawler objects.
    Author:
    mcayanan
    • Constructor Detail

      • CrawlerFactory

        public CrawlerFactory()
    • Method Detail

      • newInstance

        public static Crawler newInstance​(URL url)
        Creates the appropriate Crawler object based on the given inputs.
        Parameters:
        url - The url.
        Returns:
        The appropriate Crawler object.