public static String bind(String key,Object[] args){
  try {
    return MessageFormat.format(bind(key),args);
  }
 catch (  MissingResourceException e) {
    return key;
  }
catch (  NullPointerException e) {
    return "!" + key + "!";
  }
}

public static String bind ( String key , Object [ ] args ) { try { return MessageFormat . format ( bind ( key ) , args ) ; } catch ( MissingResourceException e ) { return key ; } catch ( NullPointerException e ) { return "!" + key + "!" ; } }
gets a string from the resource bundle and binds it with the given arguments . if the key is not found , return the key .
