public class EntityUtils extends Object
Constructor and Description |
---|
EntityUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getEntityFilename(ISettingsMap map,
String shortName)
Return the name with extension of a file, from the given map of short names (possibly prefixes)
|
static ISettingsMap |
getResolvedMap(String prefix,
String type,
ISettingsMap map,
String entityName,
String tenantName)
Returned the resolved file content as a SettingsMap
|
public static ISettingsMap getResolvedMap(String prefix, String type, ISettingsMap map, String entityName, String tenantName) throws ConfigurationException
prefix
- the beginning of the file base name, or the base name itself, to look fortype
- entity typemap
- map containing the file names as keys and the file paths as valuesentityName
- entity nametenantName
- current tenantConfigurationException
- .public static String getEntityFilename(ISettingsMap map, String shortName) throws ConfigurationException
map
- map containing the file names as keys and the file paths as valuesshortName
- the beginning of the file name, or the base name, to search in map keysInvalidResolverKeyConfigurationException
- if two or more files are found for the given short nameConfigurationException
Copyright © 2014–2022. All rights reserved.