public class Settings_impl extends Object implements Settings
| Modifier and Type | Field and Description | 
|---|---|
| protected static String | LOG_RESOURCE_BUNDLE | 
| Constructor and Description | 
|---|
| Settings_impl() | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<String> | getKeys()Return a set of keys of all properties in the map | 
| String | getSetting(String name)Get the value of an external override setting. | 
| String[] | getSettingArray(String name)Get the array of values for an external override setting. | 
| void | load(InputStream in)Load properties from an input stream. | 
| void | loadSystemDefaults()Load properties from the comma-separated list of resources specified in the system property
 UimaExternalOverrides Resource names may be specified with a prefix of "file:" or "path:". | 
| String | lookUp(String name)Look up the value for a property. | 
| String | resolve(String value)Replace variable references in a string. | 
protected static final String LOG_RESOURCE_BUNDLE
public void load(InputStream in) throws IOException
, or
 new-line, so can span multiple lines without using a final \load in interface Settingsin - - Stream holding propertiesIOException - if name characters illegalpublic void loadSystemDefaults()
                        throws ResourceConfigurationException
loadSystemDefaults in interface SettingsResourceConfigurationException - wraps IOExceptionpublic String lookUp(String name) throws ResourceConfigurationException
lookUp in interface Settingsname - - name to look upResourceConfigurationException - if the value references an undefined propertypublic String resolve(String value) throws Exception
value - - String to scan for variable referencesException - -public String getSetting(String name) throws ResourceConfigurationException
SettingsgetSetting in interface Settingsname - - the name of the parameterResourceConfigurationException - if the value references an undefined property, or the value is an arraySettings.getSetting(java.lang.String)public String[] getSettingArray(String name) throws ResourceConfigurationException
SettingsgetSettingArray in interface Settingsname - - the name of the parameterResourceConfigurationException - if the value references an undefined property, or the value is not an arraySettings.getSettingArray(java.lang.String)Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.