类 RedisDictI18nLoader
java.lang.Object
cn.silwings.dicti18n.loader.redis.RedisDictI18nLoader
- 所有已实现的接口:
ClassPathDictI18nLoader,DictI18nLoader
Redis dictionary internationalization loader
Responsible for loading dictionary data into Redis and providing the functionality to retrieve internationalized dictionary entries from Redis.
-
字段概要
从接口继承的字段 cn.silwings.dicti18n.loader.ClassPathDictI18nLoader
LOCATION_PATTERNS, resolver -
构造器概要
构造器构造器说明RedisDictI18nLoader(RedisDictI18nLoaderProperties redisDictI18nLoaderProperties, org.springframework.data.redis.core.StringRedisTemplate redisTemplate) -
方法概要
修饰符和类型方法说明Retrieve dictionary values for specified language and key from Redisorg.slf4j.LoggergetLog()processKey(String lang, String dictKey) Generate Redis storage keys in the format: prefix + language + ":" + processed key从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.silwings.dicti18n.loader.ClassPathDictI18nLoader
extractLangFromFilename, loadResourcesFromPattern, loadResourcesFromPattern
-
构造器详细资料
-
RedisDictI18nLoader
public RedisDictI18nLoader(RedisDictI18nLoaderProperties redisDictI18nLoaderProperties, org.springframework.data.redis.core.StringRedisTemplate redisTemplate)
-
-
方法详细资料
-
getLog
public org.slf4j.Logger getLog()- 指定者:
getLog在接口中ClassPathDictI18nLoader
-
processKey
Generate Redis storage keys in the format: prefix + language + ":" + processed key -
loaderName
- 指定者:
loaderName在接口中DictI18nLoader
-
get
Retrieve dictionary values for specified language and key from Redis- 指定者:
get在接口中DictI18nLoader
-