Package com.sun.tools.corba.ee.idl
Class ResourceBundleUtil
java.lang.Object
com.sun.tools.corba.ee.idl.ResourceBundleUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getMessage
(String key, String... fill) static ResourceBundle
Gets the current ResourceBundle.static String
Fetch the version number of this build of the IDL Parser Framework.static void
registerResourceBundle
(ResourceBundle bundle) Register a ResourceBundle.
-
Field Details
-
fBundle
-
-
Constructor Details
-
ResourceBundleUtil
public ResourceBundleUtil()
-
-
Method Details
-
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
-
registerResourceBundle
Register a ResourceBundle. This file will be searched for in the CLASSPATH.- Parameters:
bundle
- bundle to set as the current ResourceBundle
-
getResourceBundle
Gets the current ResourceBundle.- Returns:
- the current ResourceBundle
-