public String getText(String key, String defaultValue, Object... args) {
    String text = doGetText(key);
    if (null == text) text = (null == defaultValue && keyAsDefault) ? key : defaultValue;
    if (null != text && args.length > 0) return formater.format(text, locale, args);
    return text;
  }
public String getText ( String key , String defaultValue , Object ... args ) { String text = doGetText ( key ) ; if ( null == text ) text = ( null == defaultValue && keyAsDefault ) ? key : defaultValue ; if ( null != text && args . length > 0 ) return formater . format ( text , locale , args ) ; return text ; }
<p>
getText.
</p>

@param key a {@link java.lang.String} object.
@param defaultValue a {@link java.lang.String} object.
@param args an array of {@link java.lang.Object} objects.
@return a {@link java.lang.String} object.