Class DfRegistryIniFile

java.lang.Object
com.documentum.registry.DfRegistry
com.documentum.registry.DfRegistryIniFile
All Implemented Interfaces:
IDfRegistry, IDfRegistryIniFile

public class DfRegistryIniFile extends DfRegistry implements IDfRegistryIniFile
This class implements the registry storage mechanism with a INI (.ini) file basis. The general structure of the INI file is that of the Microsoft INI file layout. There is, however, no ordering of the sections in the file. Each sections' values MUST be found directly after the section name declaration.

The general strategy of this class is for each change of the existing registry file a new file is generated with the changes. After the change is completed, the existing file is renamed to a backup file and the new file is renamed to the registry file.

This class is not exposed via COM since it is meant for non-Windows platforms. DfRegistry cannot be exposed as well since this class inherits from it.

Notes:

  • The root key is not relative to anything and must be absolute upon class initialization. It may be null but no values can be set for it; only keys be set for it.
  • closeKey( ) should be called when this object is no longer needed.