Class ResourceBundleUtil

java.lang.Object
com.sun.tools.corba.ee.idl.ResourceBundleUtil

public class ResourceBundleUtil extends Object
  • Field Details

  • Constructor Details

    • ResourceBundleUtil

      public ResourceBundleUtil()
  • Method Details

    • getVersion

      public static String getVersion()
      Fetch the version number of this build of the IDL Parser Framework. This method may be called before or after the framework has been initialized. If the framework is inititialized, the version information is extracted from the message properties object; otherwise, it is extracted from the indicated resouce bundle.
      Returns:
      the version number.
    • getMessage

      public static String getMessage(String key, String... fill)
    • registerResourceBundle

      public static void registerResourceBundle(ResourceBundle bundle)
      Register a ResourceBundle. This file will be searched for in the CLASSPATH.
      Parameters:
      bundle - bundle to set as the current ResourceBundle
    • getResourceBundle

      public static ResourceBundle getResourceBundle()
      Gets the current ResourceBundle.
      Returns:
      the current ResourceBundle