Initial project
This commit is contained in:
@ -0,0 +1,31 @@
|
||||
package com.imyeyu.lang.mapper;
|
||||
|
||||
import com.imyeyu.java.bean.Language;
|
||||
import com.imyeyu.java.bean.LanguageMapping;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
|
||||
/**
|
||||
* @author 夜雨
|
||||
* @version 2024-04-01 16:25
|
||||
*/
|
||||
public abstract class AbstractLanguageMapper implements LanguageMapping {
|
||||
|
||||
protected static final MessageFormat FORMAT = new MessageFormat("");
|
||||
|
||||
protected final Language language;
|
||||
|
||||
protected boolean isDebugging = false;
|
||||
|
||||
public AbstractLanguageMapper(Language language) {
|
||||
this.language = language;
|
||||
}
|
||||
|
||||
public Language getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
||||
public void setDebugging(boolean debugging) {
|
||||
isDebugging = debugging;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user