public String getString ( final String key , final Object ... args ) { String value = getString ( key ) ; if ( value == null ) { value = key ; } MessageFormat mf = new MessageFormat ( value ) ; mf . setLocale ( locale ) ; return mf . format ( args , new StringBuffer ( ) , null ) . toString ( ) ; }
Get a string from the underlying resource bundle and format it with the given set of arguments .