|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.admin.tools.PropertyResourceBundleGenerator
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.
Field Summary | |
static java.lang.String |
CLASS_NAME_TOKEN
|
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 |
Field Detail |
public static final java.lang.String CLASS_NAME_TOKEN
Constructor Detail |
public PropertyResourceBundleGenerator(java.lang.String destinationDirectory, java.lang.String bundleName, java.lang.String language, java.lang.String country)
destinationDirectory
- String - location to place generated java classlanguage
- String - language of the bundle.country
- String - country derivitive of language.Method Detail |
public static void displayUsage()
public static void main(java.lang.String[] argv)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |