Package | Description |
---|---|
org.tinygroup.template | |
org.tinygroup.template.impl | |
org.tinygroup.template.rumtime | |
org.tinygroup.templatei18n |
Modifier and Type | Method and Description |
---|---|
I18nVisitor |
TemplateEngine.getI18nVisitor()
返回国际化访问接口实现类
|
Modifier and Type | Method and Description |
---|---|
TemplateEngine |
TemplateEngine.setI18nVisitor(I18nVisitor i18nVistor)
设置
|
Modifier and Type | Method and Description |
---|---|
I18nVisitor |
TemplateEngineDefault.getI18nVisitor() |
Modifier and Type | Method and Description |
---|---|
TemplateEngineDefault |
TemplateEngineDefault.setI18nVisitor(I18nVisitor i18nVistor) |
Modifier and Type | Method and Description |
---|---|
static String |
TemplateUtil.getI18n(I18nVisitor i18nVistor,
TemplateContext context,
String key)
获取
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractI18nVisitor
通过I18nMessage实现模板引擎的国际化(第一种方案)
|
class |
ContextLocaleI18nVisitor
从上下文获取Locale
|
class |
DefaultLocaleI18nVisitor
LocaleUtil取得默认的locale
|
class |
SystemLocaleI18nVisitor
LocaleUtil取得操作系统的locale
|
class |
ThreadLocaleI18nVisitor
LocaleUtil取当前线程的locale
|
Copyright © 2006–2018 TinyGroup. All rights reserved.