public class

ConstantsInterfaceCreator

extends AbstractLocalizableInterfaceCreator
java.lang.Object
   ↳ com.google.gwt.i18n.rebind.AbstractLocalizableInterfaceCreator
     ↳ com.google.gwt.i18n.rebind.ConstantsInterfaceCreator

Class Overview

Constants Interface creator.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.i18n.rebind.AbstractLocalizableInterfaceCreator
Public Constructors
ConstantsInterfaceCreator(String className, String packageName, File resourceBundle, File targetLocation, Class<? extends Constants> interfaceClass)
Creates a new constants creator.
Protected Methods
void genMethodArgs(String defaultValue)
Create method args based upon the default value.
void genValueAnnotation(String defaultValue)
Create an annotation to hold the default value.
String javaDocComment(String path)
Returns the javaDocComment for the class.
[Expand]
Inherited Methods
From class com.google.gwt.i18n.rebind.AbstractLocalizableInterfaceCreator
From class java.lang.Object

Public Constructors

public ConstantsInterfaceCreator (String className, String packageName, File resourceBundle, File targetLocation, Class<? extends Constants> interfaceClass)

Creates a new constants creator.

Parameters
className constant class to create
packageName package to create it in
resourceBundle resource bundle with value
Throws
IOException

Protected Methods

protected void genMethodArgs (String defaultValue)

Create method args based upon the default value.

protected void genValueAnnotation (String defaultValue)

Create an annotation to hold the default value.

protected String javaDocComment (String path)

Returns the javaDocComment for the class.

Parameters
path path of class
Returns
  • java doc comment