public String getControlProperty ( String strKey , String strDefaultValue ) { String strValue = ( ( PropertiesField ) this . getRecord ( MessageControl . MESSAGE_CONTROL_FILE ) . getField ( MessageControl . PROPERTIES ) ) . getProperty ( strKey ) ; if ( strValue == null ) { if ( strDefaultValue == null ) strDefaultValue = this . getDefaultValue ( strKey ) ; strValue = strDefaultValue ; } return strValue ; }
GetControlProperty Method .