public String getText(String key, String [] values)
   {
      if(values == null)
         throw new IllegalArgumentException("aValues required in Presenter.getText");
      try
      {
         HashMap<String,String> map = new HashMap<String,String>();
         
         for (int i = 0; i < values.length; i++)
         {
            map.put(Integer.toString(i),values[i]);   
         }
         

         return getText(key,map);
      }
      catch (Exception e)
      {
         throw new SystemException(e);
      }
   }
public String getText ( String key , String [ ] values ) { if ( values == null ) throw new IllegalArgumentException ( "aValues required in Presenter.getText" ) ; try { HashMap < String , String > map = new HashMap < String , String > ( ) ; for ( int i = 0 ; i < values . length ; i ++ ) { map . put ( Integer . toString ( i ) , values [ i ] ) ; } return getText ( key , map ) ; } catch ( Exception e ) { throw new SystemException ( e ) ; } }
@param key the resource bundle key
@param values the single place holder in resource text i.e.
test=A single value placed here ${0}
@return the formatted text