|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthredds.cataloggen.datasetenhancer.RegExpAndDurationTimeCoverageEnhancer
public class RegExpAndDurationTimeCoverageEnhancer
Try to add timeCoverage to the InvDataset using a regular expression match, capturing group replacement, and a duration string.
| Constructor Summary | |
|---|---|
RegExpAndDurationTimeCoverageEnhancer(java.lang.String matchPattern,
java.lang.String substitutionPattern,
java.lang.String duration)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
addMetadata(InvDataset dataset,
CrawlableDataset crDataset)
Add metadata to the given InvDataset possibly using information from the corresponding CrawlableDataset. |
java.lang.Object |
getConfigObject()
Return the configuration object. |
java.lang.String |
getDuration()
|
java.lang.String |
getMatchPattern()
|
java.lang.String |
getSubstitutionPattern()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegExpAndDurationTimeCoverageEnhancer(java.lang.String matchPattern,
java.lang.String substitutionPattern,
java.lang.String duration)
matchPattern - a regular expression used to match against the CrawlableDataset name.substitutionPattern - used, after substitution with the regular expression capturing groups, as the start time for a time coverage.duration - used as the duration string for a time coverage.| Method Detail |
|---|
public java.lang.String getMatchPattern()
public java.lang.String getSubstitutionPattern()
public java.lang.String getDuration()
public java.lang.Object getConfigObject()
DatasetEnhancer
getConfigObject in interface DatasetEnhancer
public boolean addMetadata(InvDataset dataset,
CrawlableDataset crDataset)
DatasetEnhancer
addMetadata in interface DatasetEnhancerdataset - the InvDataset to enhance with additional metadata.crDataset - the CrawlableDataset that corresponds with the given InvDataset, possibly used to gather information not available from the InvDataset.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||