public abstract class ResourceFactory extends Object
Modifier and Type | Field and Description |
---|---|
static char |
LOCALE_SEPARATOR
Separator between class name and locale in resource files.
|
Constructor and Description |
---|
ResourceFactory() |
Modifier and Type | Method and Description |
---|---|
static AbstractResource.ResourceList |
getBundle(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType topClass,
GwtLocale bundleLocale,
boolean isConstants,
Map<String,com.google.gwt.dev.resource.Resource> resourceMap,
com.google.gwt.core.ext.GeneratorContext genCtx) |
static String |
getResourceName(com.google.gwt.core.ext.typeinfo.JClassType targetClass) |
public static final char LOCALE_SEPARATOR
public static AbstractResource.ResourceList getBundle(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.typeinfo.JClassType topClass, GwtLocale bundleLocale, boolean isConstants, Map<String,com.google.gwt.dev.resource.Resource> resourceMap, com.google.gwt.core.ext.GeneratorContext genCtx)
logger
- topClass
- bundleLocale
- isConstants
- resourceMap
- a map of available Resources
by partial
path; obtain this by calling
GeneratorContext.getResourcesOracle()
.getResourceMap()
genCtx
- public static String getResourceName(com.google.gwt.core.ext.typeinfo.JClassType targetClass)
Copyright © 2016. All rights reserved.