opendap.crawler
Class DDXCrawler
java.lang.Object
opendap.crawler.DDXCrawler
public class DDXCrawler
- extends java.lang.Object
This class is a simple DDX crawler that uses an Enumeration
object returned by the ThreddsCatalogUtil() class. This crawler makes an
instance of TCU and configures it so that caching is turned on. It can
crawl a set of catalogs, either by reading them from the network or from
the cache employed by TCU, and for each catalog, retrieve the DDX responses
for the DAP data sources they reference.
Adapted from the ThreddsCrawler class.
- Author:
- jimg
Method Summary |
void |
crawlCatalog(java.lang.String catalogURL,
java.io.PrintStream ps,
boolean restoreState)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDXCrawler
public DDXCrawler()
main
public static void main(java.lang.String[] args)
- Parameters:
args
-
crawlCatalog
public void crawlCatalog(java.lang.String catalogURL,
java.io.PrintStream ps,
boolean restoreState)
throws java.lang.Exception
- Throws:
java.lang.Exception