public abstract class AbstractDictLoader extends Object implements DictLoader
Constructor and Description |
---|
AbstractDictLoader() |
Modifier and Type | Method and Description |
---|---|
void |
clear(DictManager dictManager)
从字典管理器中清除该字典加载器相关的字典内容
|
Dict |
getDict(String dictTypeName,
DictManager dictManager,
Context context)
返回字典对象,参考dictManager。getDict(String lang,String dictTypeName, Context context);
|
String |
getGroupName()
返回分组名称
|
String |
getLanguage()
返回字段加载器关联的语言信息
|
protected void |
putDict(String name,
Dict dict,
DictManager dictManager) |
void |
setDictFilter(DictFilter dictFilter)
设置字典过滤器
|
void |
setGroupName(String groupName)
设置分组名称
|
void |
setLanguage(String language)
设置语言
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
public String getLanguage()
DictLoader
getLanguage
in interface DictLoader
public void setLanguage(String language)
DictLoader
setLanguage
in interface DictLoader
public Dict getDict(String dictTypeName, DictManager dictManager, Context context)
DictLoader
getDict
in interface DictLoader
dictTypeName
- 字典类型名称dictManager
- 字典管理器context
- 上下文对象public void setDictFilter(DictFilter dictFilter)
DictLoader
setDictFilter
in interface DictLoader
dictFilter
- 字典过滤器protected void putDict(String name, Dict dict, DictManager dictManager)
public void clear(DictManager dictManager)
DictLoader
clear
in interface DictLoader
public String getGroupName()
DictLoader
getGroupName
in interface DictLoader
public void setGroupName(String groupName)
DictLoader
setGroupName
in interface DictLoader
Copyright © 2006–2018 TinyGroup. All rights reserved.