Package thredds.crawlabledataset
Interface CrawlableDatasetLabeler
-
- All Known Implementing Classes:
MultiLabeler,RegExpAndReplaceOnNameLabeler,RegExpAndReplaceOnPathLabeler
public interface CrawlableDatasetLabelerAn interface for determining a String label for a CrawlableDataset.- Since:
- Nov 14, 2005 10:49:12 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetConfigObject()Return the configuration object.StringgetLabel(CrawlableDataset dataset)Return a label for the given dataset or null if this CrawlableDatasetLabeler does not know how to label the given dataset.
-
-
-
Method Detail
-
getLabel
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.- Parameters:
dataset- the CrawlableDataset to be labeled.- Returns:
- the label for the given dataset or null.
- Throws:
NullPointerException- if the given dataset is null.
-
getConfigObject
Object getConfigObject()
Return the configuration object.- Returns:
- the configuration Object (may be null).
-
-