public class I18nSync extends Object
FooMessages.java classes from
FooMessages.properties classes for GWT's i18n.| Constructor and Description |
|---|
I18nSync() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Entry point for command line tool.
|
static void |
processFile(File sourceDir,
File propsFile)
Converts a single i18n properties file to its corresponding source file.
|
public static void processFile(File sourceDir, File propsFile) throws IOException
sourceDir - the root of the source directory. Used to infer the package for the
generated source given the path to the properties file and the root of the source directory.propsFile - the properties file from which to generate a source file. Name must be of
the form X.properties for any X.IOExceptionpublic static void main(String[] args)
Copyright © 2013. All Rights Reserved.