legacy/src/main/java/thredds/cataloggen/datasetenhancer/RegExpAndDurationTimeCoverageEnhancer.java
public static RegExpAndDurationTimeCoverageEnhancer
  getInstanceToMatchOnDatasetPath( String matchPattern,
                                   String substitutionPattern,
                                   String duration )
  {
    return new RegExpAndDurationTimeCoverageEnhancer(
            matchPattern, substitutionPattern,
            duration, MatchTarget.DATASET_PATH );
  }
public static RegExpAndDurationTimeCoverageEnhancer
  getInstanceToMatchOnDatasetPath( String matchPattern,
                                   String substitutionPattern,
                                   String duration )
  {
    return new RegExpAndDurationTimeCoverageEnhancer(
            matchPattern, substitutionPattern,
            duration, MatchTarget.DATASET_PATH );
  }
public static RegExpAndDurationTimeCoverageEnhancer getInstanceToMatchOnDatasetPath ( String matchPattern , String substitutionPattern , String duration ) { return new RegExpAndDurationTimeCoverageEnhancer ( matchPattern , substitutionPattern , duration , MatchTarget . DATASET_PATH ) ; }
Factory method that returns a RegExpAndDurationTimeCoverageEnhancer instance
that will apply the match pattern to the dataset path.

@param matchPattern a regular expression used to match against the CrawlableDataset path.
@param substitutionPattern the time coverage start time (which may contain regular expression capturing group substitution strings).
@param duration the time coverage duration string.

@return a RegExpAndDurationTimeCoverageEnhancer that will apply the match pattern to the dataset path.
Factory method that returns a RegExpAndDurationTimeCoverageEnhancer instance that will apply the match pattern to the dataset path .