public class PropertiesFileConfiguration extends Object implements IConfiguration
| Constructor and Description |
|---|
PropertiesFileConfiguration(String id,
File propFile) |
PropertiesFileConfiguration(String id,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Properties |
getProperties() |
protected void |
loadProperties() |
protected void |
setPropFile(File propFile) |
void |
update(Properties newProperties)
20140121/PM - Updated to back up original file with timestamp for historical
rollback purposes
|
public PropertiesFileConfiguration(String id, Properties properties)
public String getId()
getId in interface IConfigurationpublic Properties getProperties() throws IOException
getProperties in interface IConfigurationIOExceptionprotected void loadProperties()
throws IOException
IOExceptionpublic void update(Properties newProperties) throws IOException
update in interface IConfigurationnewProperties - IOExceptionprotected void setPropFile(File propFile)
Copyright © 2017 Hitachi Vantara. All rights reserved.