public class

MessagesInterfaceCreator

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

Class Overview

Creates a MessagesInterface from a Resource file.

Summary

[Expand]
Inherited Fields
From class com.google.gwt.i18n.rebind.AbstractLocalizableInterfaceCreator
Public Constructors
MessagesInterfaceCreator(String className, String packageName, File resourceBundle, File targetLocation)
Constructor for MessagesInterfaceCreator.
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 MessagesInterfaceCreator (String className, String packageName, File resourceBundle, File targetLocation)

Constructor for MessagesInterfaceCreator.

Parameters
className class name
packageName package name
resourceBundle resource bundle
targetLocation target location
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