Initial project

This commit is contained in:
Timi
2025-07-14 14:27:01 +08:00
parent 0adde06b54
commit 49d88e13e6
15 changed files with 767 additions and 94 deletions
@@ -0,0 +1,27 @@
package com.imyeyu.lang.mapper;
import com.imyeyu.java.bean.Language;
import java.util.HashMap;
import java.util.Properties;
/**
* @author 夜雨
* @version 2024-04-09 00:50
*/
public class PropertiesLanguageMap extends LanguageMap {
/**
* 默认构造
*
* @param language 所属语言
*/
public PropertiesLanguageMap(Language language) {
super(language);
}
@SuppressWarnings({"unchecked", "rawtypes"})
public void load(Properties properties) {
map.putAll(new HashMap(properties));
}
}