ClasspathPropertiesConfiguration Class
- java.
lang. Object - com.
microsoft. bot. integration. ClasspathPropertiesConfiguration
- com.
Implements
public class ClasspathPropertiesConfiguration
implements Configuration
Provides access to properties defined in a Properties file located on the classpath.
Constructor Summary
| Constructor | Description |
|---|---|
| ClasspathPropertiesConfiguration() |
Loads properties from the 'application. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.Properties |
getProperties()
Returns the Properties in the Configuration. |
| java.lang.String[] |
getProperties(String key)
Returns an array of values from an entry that is comma delimited. |
| java.lang.String |
getProperty(String key)
Returns a value for the specified property name. |
Methods inherited from java.lang.Object
Constructor Details
ClasspathPropertiesConfiguration
public ClasspathPropertiesConfiguration()
Loads properties from the 'application.properties' file.
Method Details
getProperties
public Properties getProperties()
Returns the Properties in the Configuration.
Returns:
getProperties
public String[] getProperties(String key)
Returns an array of values from an entry that is comma delimited.
Parameters:
Returns:
getProperty
public String getProperty(String key)
Returns a value for the specified property name.
Parameters:
Returns: