public abstract class AbstractCrawlLister extends Object implements org.apache.oodt.product.handlers.ofsn.OFSNListHandler
OFSNListHandler
for generating file lists based on two
simple flags: recurse, and crawlForDirs, indicating to crawl for directories
rather than files.Modifier and Type | Field and Description |
---|---|
protected static FileFilter |
DIR_FILTER |
protected static FileFilter |
FILE_FILTER |
protected static Logger |
LOG |
Constructor and Description |
---|
AbstractCrawlLister() |
Modifier and Type | Method and Description |
---|---|
abstract void |
configure(Properties conf) |
protected File[] |
crawlFiles(File dirRoot,
boolean recur,
boolean crawlForDirs) |
abstract File[] |
getListing(String ofsn) |
protected static final Logger LOG
protected static final FileFilter FILE_FILTER
protected static final FileFilter DIR_FILTER
public abstract void configure(Properties conf)
configure
in interface org.apache.oodt.product.handlers.ofsn.OFSNListHandler
public abstract File[] getListing(String ofsn) throws org.apache.oodt.product.ProductException
getListing
in interface org.apache.oodt.product.handlers.ofsn.OFSNListHandler
org.apache.oodt.product.ProductException
Copyright © 2010–2016 Planetary Data System. All rights reserved.