📄 noallowedcharbuild.java
字号:
/*
* Created on 2007-3-26
* Last modified on 2007-3-26
* Powered by YeQiangWei.com
*/
package com.yeqiangwei.club.controller.form.build;
import javax.servlet.http.HttpServletRequest;
import com.yeqiangwei.club.controller.form.NoAllowedCharForm;
import com.yeqiangwei.util.ParamUtils;
public class NoAllowedCharBuild {
private HttpServletRequest request;
public NoAllowedCharBuild(HttpServletRequest request){
this.request = request;
}
public NoAllowedCharForm build(){
return this.utils(new NoAllowedCharForm());
}
public NoAllowedCharForm utils(NoAllowedCharForm f){
f.setNoAllowedId(ParamUtils.getIntParameter(request,"noAllowedId"));
f.setNoAllowedMessage(ParamUtils.getStringParameter(request,"noAllowedMessage"));
f.setNoAllowedTopic(ParamUtils.getStringParameter(request,"noAllowedTopic"));
f.setNoAllowedUser(ParamUtils.getStringParameter(request,"noAllowedUser"));
f.setReplaceMessage(ParamUtils.getStringParameter(request,"replaceMessage"));
f.setReplaceTopic(ParamUtils.getStringParameter(request,"replaceTopic"));
f.setReplaceUser(ParamUtils.getStringParameter(request,"replaceUser"));
return f;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -