BBTranslationBundle::compareBundles
Description
In BBj 9.0 and higher, this method compares two translation bundles of the same name but in two different directories.
Syntax
Return Value |
Method |
void |
compareBundles(string bundleName, string bundleDir1, string bundleDir2, boolean displayToConsole) |
Parameters
Variable |
Description |
bundleName |
Specifies the name of the bundles to compare. |
bundleDir1 |
Specifies the directory of where the first bundle to compare resides. |
bundleDir2 |
Specifies the directory of where the second bundle to compare resides. |
displayToConsole |
TRUE (1) if the results are to be displayed to the BBj console, otherwise FALSE (0). |
Return Value
None.
Remarks
Compares the passed translation bundles given a bundle name, bundle directories, and whether to display the results to the console. New default keys and modified default key values will be written to the bundleDir1 + bundle name + _update.properties file. This method can be used to determine what has changed between two versions of the same bundle.
Example
|