Package com.netscape.cmscore.base
Class FileConfigStorage
java.lang.Object
com.netscape.cmscore.base.ConfigStorage
com.netscape.cmscore.base.FileConfigStorage
FileConfigStorage:
Extends ConfigStore with methods to load/save from/to file for
persistent storage. This is a configuration store agent who
reads data from a file.
- Version:
- $Revision$, $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
commit
(ConfigStore config, boolean createBackup) The original config file is copied to. . getFile()
void
load
(ConfigStore config)
-
Constructor Details
-
FileConfigStorage
Constructs a file configuration store.- Parameters:
fileName
- file name- Throws:
EBaseException
- failed to create file configurationException
-
-
Method Details
-
getFile
-
load
- Overrides:
load
in classConfigStorage
- Throws:
Exception
-
commit
The original config file is copied to. . Commits the current properties to the configuration file. - Overrides:
commit
in classConfigStorage
- Throws:
EBaseException
-