public class LocalisationConfigurationPropertiesProvider extends DefaultConfigurationPropertiesProvider
configurationAttributes, encoding, fileLocation, PROPERTIES_EXTENSION, resourceProvider, UNKNOWN, YAML_EXTENSION| Constructor and Description |
|---|
LocalisationConfigurationPropertiesProvider(ResourceProvider resourceProvider,
String file,
String locale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createValue(String key,
String value) |
Optional<ConfigurationProperty> |
getConfigurationProperty(String configurationAttributeKey)
Returns the formatted given key according to the format specified on the configuration properties file
|
createAttributesFromYamlObject, createKey, getDescription, getResourceInputStream, getResourceInputStreamReader, initialise, readAttributesFromFilepublic LocalisationConfigurationPropertiesProvider(ResourceProvider resourceProvider, String file, String locale)
public Optional<ConfigurationProperty> getConfigurationProperty(String configurationAttributeKey)
getConfigurationProperty in interface ConfigurationPropertiesProvidergetConfigurationProperty in class DefaultConfigurationPropertiesProviderconfigurationAttributeKey - Optional.empty() otherwise.protected String createValue(String key, String value)
createValue in class DefaultConfigurationPropertiesProviderCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.