| |
Methods defined here:
- __init__(self, path=None)
- Initializes configuration and loaded data from file if path is given
:param path: path to the configuration file
:type path: str
- get(self, name, defaultValue=None)
- Gets configuration value located under the given name
:param name: Name of configuration value
:param defaultValue: Default value returned when needed value is undefined
:type name: str
:type defaultValue: None
:return: returns configuration value or None if it's undefined
- loadFromFile(self, path)
- Loads configuration data from file to which path is given
:param path: path to the configuration file
:type path: str
:return: returns None
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|