public class RedisDictI18nLoader extends Object implements ClassPathDictI18nLoader
LOCATION_PATTERNS, resolver| 构造器和说明 |
|---|
RedisDictI18nLoader(RedisDictI18nLoaderProperties redisDictI18nLoaderProperties,
org.springframework.data.redis.core.StringRedisTemplate redisTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<String> |
get(String lang,
String dictKey)
Retrieve dictionary values for specified language and key from Redis
|
org.slf4j.Logger |
getLog() |
String |
loaderName() |
String |
processKey(String lang,
String dictKey)
Generate Redis storage keys in the format: prefix + language + ":" + processed key
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractLangFromFilename, loadResourcesFromPattern, loadResourcesFromPatternpublic RedisDictI18nLoader(RedisDictI18nLoaderProperties redisDictI18nLoaderProperties, org.springframework.data.redis.core.StringRedisTemplate redisTemplate)
public org.slf4j.Logger getLog()
getLog 在接口中 ClassPathDictI18nLoaderpublic String processKey(String lang, String dictKey)
public String loaderName()
loaderName 在接口中 DictI18nLoaderCopyright © 2025. All rights reserved.