gov.nasa.pds.validate.crawler
Class URLCrawler
java.lang.Object
gov.nasa.pds.validate.crawler.Crawler
gov.nasa.pds.validate.crawler.URLCrawler
public class URLCrawler
- extends Crawler
Class to crawl a resource.
- Author:
- mcayanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLCrawler
public URLCrawler(boolean getDirectories,
List<String> fileFilters)
- Constructor.
- Parameters:
getDirectories
- Flag to indicate whether to retrieve directory
listings.fileFilters
- A list of file filters to use when traversing a
directory url.
crawl
public List<Target> crawl(URL url)
throws IOException
- Specified by:
crawl
in class Crawler
- Throws:
IOException
Copyright © 2010-2013 Planetary Data System. All Rights Reserved.