Package miopia :: Package util :: Module ConfigurationManager :: Class ConfigurationManager
[hide private]
[frames] | no frames]

Class ConfigurationManager

source code

object --+
         |
        ConfigurationManager

classdocs

Instance Methods [hide private]
 
__init__(self, config_file=None, yaml_config=None, lang='es')
Constructor
source code
 
getParameter(self, parameter, lang=None) source code
 
readLemmaDict(self, path, encoding='utf-8') source code
 
readSODict(self, path, encoding='utf-8') source code
 
readTsvDict(self, path, encoding='utf-8') source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(self, *args, **kargs)
Singleton
source code
Class Variables [hide private]
  __config = {}
  __parameters = {}
  __default_conf_file = '/etc/miopia_conf.yaml'
  __uniqueInstance = None
  __lang = 'es'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(self, *args, **kargs)
Static Method

source code 

Singleton

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__init__(self, config_file=None, yaml_config=None, lang='es')
(Constructor)

source code 

Constructor

Overrides: object.__init__