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
Method Summary |
boolean |
addMetadata(InvDataset dataset)
Attempt to add metadata to the given dataset and return true if successful. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatasetEnhancer1.AddTimeCoverageModels
public DatasetEnhancer1.AddTimeCoverageModels(String matchPattern,
String substitutionPattern,
String duration)
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 interface DatasetEnhancer1.DatasetMetadataAdder
- Parameters:
dataset
- the dataset to enhance with metadata.
- Returns:
- True if metadata added, otherwise false.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.