com.bankframe.admin.tools
Class PropertyResourceBundleGenerator
java.lang.Object
com.bankframe.admin.tools.PropertyResourceBundleGenerator
- public class PropertyResourceBundleGenerator
- extends java.lang.Object
This class generate a PropertyResourceBundle class for a specified locale.
Using the ResourceBundleTemplate a new ResourceBundle Class is created for
a locale.
The purpose of this class is to automate the manual process of creating
a new PropertyResourceBundle class for each locale you wish to provide
localised messages for.
The class merges BundleName, Language and Country values with
the ResourceBundleTemplate to create a new PropertyResourceBundle for a locale.
- Author:
- ETU
|
Constructor Summary |
PropertyResourceBundleGenerator(java.lang.String destinationDirectory,
java.lang.String bundleName,
java.lang.String language,
java.lang.String country)
Creates new PropertyResourceBundleGenerator. |
|
Method Summary |
static void |
displayUsage()
This method outputs usage help/information for this utility |
static void |
main(java.lang.String[] argv)
Generates PropertyResourceBundle
args: [destdirectory] [bundlename] [language] {country} |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME_TOKEN
public static final java.lang.String CLASS_NAME_TOKEN
- See Also:
- Constant Field Values
PropertyResourceBundleGenerator
public PropertyResourceBundleGenerator(java.lang.String destinationDirectory,
java.lang.String bundleName,
java.lang.String language,
java.lang.String country)
- Creates new PropertyResourceBundleGenerator.
- Parameters:
destinationDirectory - String - location to place generated java classlanguage - String - language of the bundle.country - String - country derivitive of language.
displayUsage
public static void displayUsage()
- This method outputs usage help/information for this utility
main
public static void main(java.lang.String[] argv)
- Generates PropertyResourceBundle
args: [destdirectory] [bundlename] [language] {country}
Copyright © 2004 Siebel Systems, Inc. All rights reserved.