Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
freemarker.template.LocalizedString
freemarker.template.ResourceBundleLocalizedString
public class ResourceBundleLocalizedString
extends LocalizedString
LocalizedString
that gets
a localized string from a java.util.ResourceBundle
Fields inherited from interface freemarker.template.TemplateModel | |
NOTHING |
Fields inherited from interface freemarker.template.TemplateScalarModel | |
EMPTY_STRING |
Constructor Summary | |
|
Method Summary | |
String |
|
Methods inherited from class freemarker.template.LocalizedString | |
getAsString , getLocalizedString |
public ResourceBundleLocalizedString(String resourceBundleLookupKey, String resourceKey)
- Parameters:
resourceBundleLookupKey
- The lookup key for the resource bundleresourceKey
- the specific resource (assumed to be a string) to fish out of the resource bundle
public String getLocalizedString(Locale locale) throws TemplateModelException
- Overrides:
- getLocalizedString in interface LocalizedString