Class CrawlerFactory
java.lang.Object
gov.nasa.pds.tools.validate.crawler.CrawlerFactory
public class CrawlerFactory extends Object
Factory class to instantiate the different Crawler objects.
- Author:
- mcayanan
-
Constructor Summary
Constructors Constructor Description CrawlerFactory()
-
Method Summary
Modifier and Type Method Description static Crawler
newInstance(URL url)
Creates the appropriate Crawler object based on the given inputs.
-
Constructor Details
-
CrawlerFactory
public CrawlerFactory()
-
-
Method Details
-
newInstance
Creates the appropriate Crawler object based on the given inputs.- Parameters:
url
- The url.- Returns:
- The appropriate Crawler object.
-