public static Object get ( String filePath , String configKey ) { if ( propertiesMap . containsKey ( filePath ) == false ) { loadProperty ( filePath ) ; } Properties properties = propertiesMap . get ( filePath ) ; if ( properties == null ) { return null ; } Object resultConfig = properties . getProperty ( configKey ) ; return resultConfig ; }
Get from config defined property files in classpath .