Package com.netscape.cmscore.base
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 TypeMethodDescriptionvoid
commit
(IConfigStore config, boolean createBackup) The original config file is copied to. . getFile()
void
load
(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:
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
-