public class FileNamePatternUtils extends Object
| Constructor and Description |
|---|
FileNamePatternUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
resolveFileName(String fileNamePattern,
Map<String,String> map)
Resolve a fileNamePatter by replacing escape sequences of the form ${VARIABLE}
with the stored values.
|
static String |
resolveFileName(String fileNamePattern,
Properties props)
Resolve a fileNamePatter by replacing escape sequences of the form ${VARIABLE}
with the stored values.
|
public static String resolveFileName(String fileNamePattern, Map<String,String> map)
fileNamePattern - The fileNamePattern to resolve.map - A Map object containing the keys and values to resolve
the variable components in the provided patternpublic static String resolveFileName(String fileNamePattern, Properties props)
fileNamePattern - The fileNamePattern to resolve.props - A Properties object containing the keys and values to resolve
the variable components in the provided patternCopyright © 2022 LSST. All rights reserved.