Prop function ( String arg0 , String arg1 ) { Prop loc0 = map . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new Prop ( arg0 , arg1 ) ; map . put ( arg0 , loc0 ) ; if ( PropKit . prop == null ) PropKit . prop = loc0 ; } return loc0 ; }
using the properties file . it will loading the properties file if not loading . example : propkit.use `` config.txt '' , `` utf-8 '' ; propkit.use `` other_config.txt '' , `` utf-8 '' ; string username = propkit.get `` username '' ; string password = propkit.get `` password '' ; username = propkit.use `` other_config.txt '' . get `` username '' ; password = propkit.use `` other_config.txt '' . get `` password '' ; propkit.use `` com/jfinal/config_in_sub_directory_of_classpath.txt '' ; concode_field_sep Prop prop concode_elem_sep ConcurrentHashMap<String,Prop> map concode_field_sep Long getLong concode_elem_sep Long getLong concode_elem_sep Integer getInt concode_elem_sep Integer getInt concode_elem_sep boolean containsKey concode_elem_sep String get concode_elem_sep String get concode_elem_sep Prop useless concode_elem_sep void clear concode_elem_sep Boolean getBoolean concode_elem_sep Boolean getBoolean concode_elem_sep Prop getProp concode_elem_sep Prop getProp