|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectToolBase
com.google.gwt.i18n.tools.I18NSync
public class I18NSync
Common public access point for localization support methods.
| Field Summary | |
|---|---|
static java.lang.String |
ID
Created Key. |
| Method Summary | |
|---|---|
static void |
createConstantsInterfaceFromClassName(java.lang.String className,
java.io.File outDir)
Creates a Constants interface from a class name. |
static void |
createConstantsWithLookupInterfaceFromClassName(java.lang.String className)
Creates a ConstantsWithLookup interface from a class name. |
static void |
createConstantsWithLookupInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir)
Creates a ConstantsWithLookup interface from a class name. |
static void |
createInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir,
java.lang.Class<? extends Localizable> interfaceType)
Creates one of a Messages, ConstantsWithLookup, or Constants subclass. |
static void |
createMessagesInterfaceFromClassName(java.lang.String className)
Creates a Messages interface from a class name. |
static void |
createMessagesInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir)
Creates a Messages interface from a class name. |
static void |
main(java.lang.String[] args)
Creates Messages and Constants java source files. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
| Method Detail |
|---|
public static void createConstantsInterfaceFromClassName(java.lang.String className,
java.io.File outDir)
throws java.io.IOException
Constants interface from a class name. The
resource file needed to create the class must be on your class path.
className - the name of the Constants class to be createdoutDir - source dir root
java.io.IOException
public static void createConstantsWithLookupInterfaceFromClassName(java.lang.String className)
throws java.io.IOException
ConstantsWithLookup interface from a class name.
The resource file needed to create the class must be on your class path.
className - the name of the Constants class to be created
java.io.IOException
public static void createConstantsWithLookupInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir)
throws java.io.IOException
ConstantsWithLookup interface from a class name.
The resource file needed to create the class must be on your class path.
className - the name of the Constants class to be createdsourceDir - source dir root
java.io.IOException
public static void createInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir,
java.lang.Class<? extends Localizable> interfaceType)
throws java.io.IOException
className - Name of the subclass to be createdsourceDir - source directory rootinterfaceType - What kind of base class to use
java.io.IOException
public static void createMessagesInterfaceFromClassName(java.lang.String className)
throws java.io.IOException
Messages interface from a class name. The resource
file needed to create the class must be on your class path.
className - the name of the Constants class to be created
java.io.IOException
public static void createMessagesInterfaceFromClassName(java.lang.String className,
java.io.File sourceDir)
throws java.io.IOException
Messages interface from a class name. The resource
file needed to create the class must be on your class path.
className - the name of the Constants class to be createdsourceDir - source directory root
java.io.IOExceptionpublic static void main(java.lang.String[] args)
args - arguments for generation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||