Class PearExportMessages

java.lang.Object
org.apache.uima.pear.generate.PearExportMessages

public class PearExportMessages extends Object
Utility class which helps managing messages.
  • Method Details

    • format

      public static String format(String key, 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
    • getString

      public static String getString(String key)
      Returns the resource object with the given key in the resource bundle. If there isn't any value under the given key, the key is returned.
      Parameters:
      key - the resource name
      Returns:
      the string