| |
|
| java.lang.Object com.google.gwt.util.tools.ToolBase com.google.gwt.i18n.tools.I18NSync
I18NSync | public class I18NSync extends ToolBase (Code) | | Common public access point for localization support methods.
|
Field Summary | |
final public static String | ID Created Key. |
checkValidJavaSourceOutputFile | static void checkValidJavaSourceOutputFile(File targetSource) throws IOException(Code) | | |
checkValidResourceInputFile | static void checkValidResourceInputFile(File resource) throws IOException(Code) | | |
createConstantsInterfaceFromClassName | public static void createConstantsInterfaceFromClassName(String className, File outDir) throws IOException(Code) | | Creates a Constants interface from a class name. The
resource file needed to create the class must be on your class path.
Parameters: className - the name of the Constants class to be created Parameters: outDir - source dir root throws: IOException - |
createConstantsWithLookupInterfaceFromClassName | public static void createConstantsWithLookupInterfaceFromClassName(String className) throws IOException(Code) | | Creates a ConstantsWithLookup interface from a class name.
The resource file needed to create the class must be on your class path.
Parameters: className - the name of the Constants class to be created throws: IOException - |
createConstantsWithLookupInterfaceFromClassName | public static void createConstantsWithLookupInterfaceFromClassName(String className, File outDir) throws IOException(Code) | | Creates a ConstantsWithLookup interface from a class name.
The resource file needed to create the class must be on your class path.
Parameters: className - the name of the Constants class to be created Parameters: outDir - source dir root throws: IOException - |
createMessagesInterfaceFromClassName | public static void createMessagesInterfaceFromClassName(String className) throws IOException(Code) | | Creates a Messages interface from a class name. The resource
file needed to create the class must be on your class path.
Parameters: className - the name of the Constants class to be created throws: IOException - |
createMessagesInterfaceFromClassName | public static void createMessagesInterfaceFromClassName(String className, File outDir) throws IOException(Code) | | Creates a Messages interface from a class name. The resource
file needed to create the class must be on your class path.
Parameters: className - the name of the Constants class to be created Parameters: outDir - source dir root throws: IOException - |
main | public static void main(String[] args)(Code) | | Creates Messages and Constants java source files.
Parameters: args - arguements for generation |
run | protected boolean run()(Code) | | Creates the interface.
whether the interface was created |
|
|
|