Package io.odysz.common
Class Configs
java.lang.Object
io.odysz.common.Configs
Load path/config.xml, use 
A servlet constext must been registed by LeisureFactory before Messages is inited
getCfg(String) to access the configured value (String).A servlet constext must been registed by LeisureFactory before Messages is inited
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
log
- 
cfgFullpath
- 
cfgs
 
- 
- 
Constructor Details- 
Configspublic Configs()
 
- 
- 
Method Details- 
initFor redirect path of config.xml- Parameters:
- xmlDir-
 
- 
init- Parameters:
- xmlDir-
- cfgxml- e. g. config.xml
- tid- optional [table-name]
- Returns:
- absolute configure file path
- Since:
- 2.0.0
 
- 
load- Parameters:
- cfgs-
- tid-
- Returns:
- absolute configure file path
 
- 
load- Parameters:
- cfgs-
- xml-
- tid-
- Returns:
- absolute configure file path
 
- 
getCfg
- 
getCfg
- 
getBoolean
- 
getInt
- 
hasCfg
- 
hasCfg
 
-