Class FileConfigStore
java.lang.Object
com.netscape.cmscore.base.ConfigStorage
com.netscape.cmscore.base.FileConfigStore
FileConfigStore:
Extends PropConfigStore 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 TypeMethodDescriptionvoidcommit(IConfigStore config, boolean createBackup) The original config file is copied to. . getFile()voidload(IConfigStore config)
-
Constructor Details
-
FileConfigStore
Constructs a file configuration store.- Parameters:
fileName- file name- Throws:
EBaseException- failed to create file configurationException
-
-
Method Details
-
getFile
-
load
- Overrides:
loadin classConfigStorage- Throws:
Exception
-
commit
The original config file is copied to. . Commits the current properties to the configuration file. - Overrides:
commitin classConfigStorage- Throws:
EBaseException
-