public static String getLabel ( final String _cmdName , final String _keytype ) { final String ret ; if ( DBProperties . hasProperty ( _cmdName + ".Button." + _keytype ) ) { ret = DBProperties . getProperty ( _cmdName + ".Button." + _keytype ) ; } else { ret = DBProperties . getProperty ( "default.Button." + _keytype ) ; } return ret ; }
Method that gets the Value for the Buttons from the DBProperties .