megamek.common
Class ReportMessages

java.lang.Object
  extended by megamek.common.ReportMessages

public class ReportMessages
extends java.lang.Object


Method Summary
static java.lang.String getString(java.lang.String key)
           
static java.lang.String getString(java.lang.String key, java.lang.Object[] args)
          Returns the formatted message for the given key in the resource bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public static java.lang.String getString(java.lang.String key)

getString

public static java.lang.String getString(java.lang.String key,
                                         java.lang.Object[] args)
Returns the formatted message for the given key in the resource bundle.

Parameters:
key - the resource name
args - the message arguments
Returns:
the string