Package thredds.crawlabledataset
Class MultiLabeler
- java.lang.Object
-
- thredds.crawlabledataset.MultiLabeler
-
- All Implemented Interfaces:
CrawlableDatasetLabeler
public class MultiLabeler extends Object implements CrawlableDatasetLabeler
- Since:
- Nov 17, 2005 3:54:55 PM
-
-
Constructor Summary
Constructors Constructor Description MultiLabeler(List<CrawlableDatasetLabeler> labelerList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getConfigObject()
Return the configuration object.String
getLabel(CrawlableDataset dataset)
Return a label for the given dataset or null if this CrawlableDatasetLabeler does not know how to label the given dataset.List<CrawlableDatasetLabeler>
getLabelerList()
-
-
-
Constructor Detail
-
MultiLabeler
public MultiLabeler(List<CrawlableDatasetLabeler> labelerList)
-
-
Method Detail
-
getConfigObject
public Object getConfigObject()
Description copied from interface:CrawlableDatasetLabeler
Return the configuration object.- Specified by:
getConfigObject
in interfaceCrawlableDatasetLabeler
- Returns:
- the configuration Object (may be null).
-
getLabelerList
public List<CrawlableDatasetLabeler> getLabelerList()
-
getLabel
public String getLabel(CrawlableDataset dataset)
Description copied from interface:CrawlableDatasetLabeler
Return a label for the given dataset or null if this CrawlableDatasetLabeler does not know how to label the given dataset.- Specified by:
getLabel
in interfaceCrawlableDatasetLabeler
- Parameters:
dataset
- the CrawlableDataset to be labeled.- Returns:
- the label for the given dataset or null.
-
-