|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.utility.XlateUtil
Simple utility to read the english and another language strings bundle and report where additional translation is required
| Constructor Summary | |
XlateUtil()
|
|
| Method Summary | |
static void |
compare(String theDir)
Compares all MessagesBundles against all directories. |
static void |
compare(String theDir,
String theLang)
Compares the files for a particular language. |
static void |
compareOneFile(BufferedReader other,
String fileName)
Given a buffered reader, checks against the default language |
static void |
loadDefaultBundle(String theDir)
Loads the english bundle into memory for quick compare. |
static void |
main(String[] args)
Main method so that XlateUtil can be launched from a command line |
static void |
usage()
Returns a sample usage message in case of errors. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XlateUtil()
| Method Detail |
public static void main(String[] args)
throws Exception
Exceptionpublic static void usage()
public static void compare(String theDir)
throws Exception,
IOException
Exception
IOException
public static void loadDefaultBundle(String theDir)
throws Exception
Exception
public static void compareOneFile(BufferedReader other,
String fileName)
throws Exception
other - The Buffered Reader of the other MessagesBundle*.properties
file to read
Exception
public static void compare(String theDir,
String theLang)
throws Exception
theDir - The directory to look in.theLang - The language to check
Exception
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||