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 IConfiguration
public Properties getProperties() throws IOException
getProperties
in interface IConfiguration
IOException
protected void loadProperties() throws IOException
IOException
public void update(Properties newProperties) throws IOException
update
in interface IConfiguration
newProperties
- IOException
protected void setPropFile(File propFile)
Copyright © 2017 Hitachi Vantara. All rights reserved.