Class PropertyResource

java.lang.Object
com.nomagic.magicdraw.resources.PropertyResource

@OpenApiAll public class PropertyResource extends Object
This class is used to retrieve the resources from the property resource bundle files.
  • Field Details

  • Constructor Details

    • PropertyResource

      public PropertyResource()
  • Method Details

    • getString

      public static String getString(String key)
      Get localized resource string according the given key.
      Parameters:
      key - key.
      Returns:
      resource string.
    • getString

      public static String getString(String key, @CheckForNull Object... values)
      Get localized resource string according the given key.
      Parameters:
      key - key.
      values - message arguments.
      Returns:
      resource string.