public abstract class

ResourceFactory

extends Object
java.lang.Object
   ↳ com.google.gwt.i18n.rebind.ResourceFactory

Class Overview

Creates resources.

Summary

Constants
char LOCALE_SEPARATOR Separator between class name and locale in resource files.
Public Constructors
ResourceFactory()
Public Methods
synchronized static AbstractResource.ResourceList getBundle(TreeLogger logger, JClassType topClass, GwtLocale bundleLocale, boolean isConstants, Map<String, Resource> resourceMap, GeneratorContext genCtx)
static String getResourceName(JClassType targetClass)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final char LOCALE_SEPARATOR

Separator between class name and locale in resource files. Should not appear in valid localizable class names.

Constant Value: 95 (0x0000005f)

Public Constructors

public ResourceFactory ()

Public Methods

public static synchronized AbstractResource.ResourceList getBundle (TreeLogger logger, JClassType topClass, GwtLocale bundleLocale, boolean isConstants, Map<String, Resource> resourceMap, GeneratorContext genCtx)

Parameters
resourceMap a map of available Resource Resources by partial path; obtain this by calling getResourcesOracle().getResourceMap()
Returns
  • resource list

public static String getResourceName (JClassType targetClass)