ucar.nc2.ncml
Class DatasetScanner

java.lang.Object
  extended by ucar.nc2.ncml.DatasetScanner
All Implemented Interfaces:
Scanner

public class DatasetScanner
extends java.lang.Object
implements Scanner

DatasetScanner implements the datasetScan element, to scan for datasets, using a CrawlableDataset.

Since:
Aug 10, 2007
Author:
caron

Field Summary
protected static org.slf4j.Logger logger
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void scanDirectory(java.util.Map<java.lang.String,CrawlableDataset> map, CancelTask cancelTask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.slf4j.Logger logger
Method Detail

scanDirectory

public void scanDirectory(java.util.Map<java.lang.String,CrawlableDataset> map,
                          CancelTask cancelTask)
                   throws java.io.IOException
Specified by:
scanDirectory in interface Scanner
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException