public class DefaultConfigurationPropertiesProvider extends org.mule.runtime.api.component.AbstractComponent implements ConfigurationPropertiesProvider, org.mule.runtime.api.lifecycle.Initialisable
| Constructor and Description |
|---|
DefaultConfigurationPropertiesProvider(String fileLocation,
ResourceProvider resourceProvider) |
DefaultConfigurationPropertiesProvider(String fileLocation,
String encoding,
ResourceProvider resourceProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createValue(String key,
String value) |
String |
getDescription() |
protected InputStream |
getResourceInputStream(String file) |
void |
initialise() |
Optional<ConfigurationProperty> |
provide(String configurationAttributeKey) |
public DefaultConfigurationPropertiesProvider(String fileLocation, String encoding, ResourceProvider resourceProvider)
public DefaultConfigurationPropertiesProvider(String fileLocation, ResourceProvider resourceProvider)
public Optional<ConfigurationProperty> provide(String configurationAttributeKey)
provide in interface ConfigurationPropertiesProviderconfigurationAttributeKey - the key of the configuration attribute.ConfigurationProperty associated with the key. May be empty if that key is not present.public String getDescription()
getDescription in interface ConfigurationPropertiesProviderprotected InputStream getResourceInputStream(String file) throws IOException
IOExceptionpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionCopyright © 2024 MuleSoft, Inc.. All rights reserved.