Package thredds.crawlabledataset
Class RegExpAndReplaceOnPathLabeler
- java.lang.Object
-
- thredds.crawlabledataset.RegExpAndReplaceOnPathLabeler
-
- All Implemented Interfaces:
CrawlableDatasetLabeler
public class RegExpAndReplaceOnPathLabeler extends Object implements CrawlableDatasetLabeler
_more_- Since:
- Dec 28, 2005 9:31:33 PM
-
-
Constructor Summary
Constructors Constructor Description RegExpAndReplaceOnPathLabeler(String regExp, String replaceString)
-
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.String
getRegExp()
String
getReplaceString()
-
-
-
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).
-
getRegExp
public String getRegExp()
-
getReplaceString
public String getReplaceString()
-
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.
-
-