|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.higgins.registry.PropertiesConfiguration
public class PropertiesConfiguration
Load/save provider configuration from properties file.
| Constructor Summary | |
|---|---|
PropertiesConfiguration(String providerId,
String providerConfigFile)
|
|
| Method Summary | |
|---|---|
Object |
getProperty(String key)
Searches for the configuration property with the specified key in this configuration. |
Object |
getProperty(String key,
Object defaultValue)
Searches for the configuration property with the specified key in this configuration. |
Iterator |
getPropertyNames()
Provides set of configuration property names. |
void |
save()
|
void |
setProperty(String key,
Object property)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesConfiguration(String providerId,
String providerConfigFile)
throws RegistryConfigurationException
RegistryConfigurationException| Method Detail |
|---|
public Iterator getPropertyNames()
IConfiguration
getPropertyNames in interface IConfigurationIterable set of Stringspublic Object getProperty(String key)
IConfiguration
getProperty in interface IConfigurationkey - the property key
public Object getProperty(String key,
Object defaultValue)
IConfigurationdefaultValue if the
property is not found.
getProperty in interface IConfigurationkey - the property keydefaultValue - a default value
public void setProperty(String key,
Object property)
throws RegistryConfigurationException
setProperty in interface IConfigurationRegistryConfigurationExceptionpublic void save()
save in interface IConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||