ucar.nc2.ncml
Class Aggregation.DirectoryScan

java.lang.Object
  extended by ucar.nc2.ncml.Aggregation.DirectoryScan
Enclosing class:
Aggregation

protected class Aggregation.DirectoryScan
extends java.lang.Object

Encapsolate a "scan" or "scan2" element: a directory that we want to scan.


Method Summary
protected  boolean accept(java.lang.String location)
           
protected  void scanDirectory(java.util.List<Aggregation.MyFile> result, CancelTask cancelTask)
          Recursively crawl directories, add matching MyFile files to result List
protected  void scanDirectory(java.lang.String dirName, long now, java.util.List<Aggregation.MyFile> result, CancelTask cancelTask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

scanDirectory

protected void scanDirectory(java.util.List<Aggregation.MyFile> result,
                             CancelTask cancelTask)
Recursively crawl directories, add matching MyFile files to result List

Parameters:
result - add MyFile objects to this list
cancelTask - user can cancel

scanDirectory

protected void scanDirectory(java.lang.String dirName,
                             long now,
                             java.util.List<Aggregation.MyFile> result,
                             CancelTask cancelTask)

accept

protected boolean accept(java.lang.String location)