Class mxResources

java.lang.Object
com.mxgraph.util.mxResources

public class mxResources extends Object
  • Field Details

  • Constructor Details

    • mxResources

      public mxResources()
  • Method Details

    • getBundles

      public static LinkedList<ResourceBundle> getBundles()
      Returns the bundles.
      Returns:
      Returns the bundles.
    • setBundles

      public static void setBundles(LinkedList<ResourceBundle> value)
      Sets the bundles.
      Parameters:
      value - The bundles to set.
    • add

      public static void add(String basename)
      Adds a resource bundle. This may throw a MissingResourceException that should be handled in the calling code.
      Parameters:
      basename - The basename of the resource bundle to add.
    • add

      public static void add(String basename, Locale locale)
      Adds a resource bundle. This may throw a MissingResourceException that should be handled in the calling code.
      Parameters:
      basename - The basename of the resource bundle to add.
    • get

      public static String get(String key)
    • get

      public static String get(String key, String defaultValue)
    • get

      public static String get(String key, String[] params)
      Returns the value for the specified resource key.
    • get

      public static String get(String key, String[] params, String defaultValue)
      Returns the value for the specified resource key.
    • getResource

      protected static String getResource(String key)
      Returns the value for key by searching the resource bundles in inverse order or null if no value can be found for key.