public static String getString ( String key , Object ... params ) { String message = getStringSafely ( key ) ; if ( params != null && params . length > 0 ) { return MessageFormat . format ( message , params ) ; } else { return message ; } }
Applies the message parameters and returns the message from one of the message bundles .