Package thredds.cataloggen
Class DatasetEnhancer1.AddTimeCoverageModels
- java.lang.Object
-
- thredds.cataloggen.DatasetEnhancer1.AddTimeCoverageModels
-
- All Implemented Interfaces:
DatasetEnhancer1.DatasetMetadataAdder
- Enclosing class:
- DatasetEnhancer1
protected static class DatasetEnhancer1.AddTimeCoverageModels extends Object implements DatasetEnhancer1.DatasetMetadataAdder
-
-
Constructor Summary
Constructors Constructor Description AddTimeCoverageModels(String matchPattern, String substitutionPattern, String duration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addMetadata(InvDataset dataset)
Attempt to add metadata to the given dataset and return true if successful.
-
-
-
Method Detail
-
addMetadata
public boolean addMetadata(InvDataset dataset)
Description copied from interface:DatasetEnhancer1.DatasetMetadataAdder
Attempt to add metadata to the given dataset and return true if successful. Return false if this DatasetMetadataAdder does not apply to the given dataset or if otherwise unsuccessful.- Specified by:
addMetadata
in interfaceDatasetEnhancer1.DatasetMetadataAdder
- Parameters:
dataset
- the dataset to enhance with metadata.- Returns:
- True if metadata added, otherwise false.
-
-