gov.nasa.pds.validate.crawler
Class FileCrawler
java.lang.Object
gov.nasa.pds.validate.crawler.Crawler
gov.nasa.pds.validate.crawler.FileCrawler
public class FileCrawler
- extends Crawler
Class that crawls a given file url.
- Author:
- mcayanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCrawler
public FileCrawler(boolean getDirectories,
List<String> fileFilters)
crawl
public List<Target> crawl(URL fileUrl)
throws IOException
- Crawl a given directory url.
- Specified by:
crawl
in class Crawler
- Parameters:
fileUrl
- File url.
- Returns:
- A list of files and sub-directories (if found and if
getSubDirectories flag is 'true').
- Throws:
IOException
Copyright © 2010-2014 Planetary Data System. All Rights Reserved.