package JspVoteSystem.Others;
/**
* <p>Title: TransformLanguageClass</p>
* <p>Description: JspVoteSystem的Class</p>
* <p>Copyright: Copyright (c) 2006</p>
* @author kenshin
* @version 1.0
*/
public class TransformLanguageClass {
private String m_strSimplified;
//TransformLanguageClass的构造函数
public TransformLanguageClass(){
m_strSimplified = null;
}
//设定Simplified
public void SetSimplified(String p_strSimplified){
this.m_strSimplified = p_strSimplified;
}
//得到Simplified
public String GetSimplified(){
return this.m_strSimplified;
}
/*
* @class TransformLanguageSimp
* @brief 通过传入的param得到相应的简体字符串
* @param p_strValue:得到的值
* @return 返回的是简体的字符串
* @author kenshin
* @version 1.0
*/
public String TransformLanguageSimp(String p_strValue){
if (p_strValue.equals("A1")){
p_strValue = "非常熟悉";
}
else if(p_strValue.equals("B1")){
p_strValue = "明白";
}
else if(p_strValue.equals("C1")){
p_strValue = "懂一点";
}
else if(p_strValue.equals("D1")){
p_strValue = "完全不知道";
}
else if (p_strValue.equals("A2") || p_strValue.equals("A3")){
p_strValue = "非常愿意";
}
else if (p_strValue.equals("B2") || p_strValue.equals("B3")){
p_strValue = "愿意";
}
else if (p_strValue.equals("C2") || p_strValue.equals("C3")){
p_strValue = "有一点愿意";
}
else if (p_strValue.equals("D2") || p_strValue.equals("D3")){
p_strValue = "用不上";
}
return p_strValue;
}
/*
* @class TransformLanguageTrad
* @brief 通过传入的param得到相应的繁体字符串
* @param p_strValue:得到的值
* @return 返回的是繁体的字符串
* @author kenshin
* @version 1.0
*/
public String TransformLanguageTrad(String p_strValue){
if (p_strValue.equals("A1")){
p_strValue = "非常熟悉";
}
else if(p_strValue.equals("B1")){
p_strValue = "明白";
}
else if(p_strValue.equals("C1")){
p_strValue = "懂一點";
}
else if(p_strValue.equals("D1")){
p_strValue = "完全不知道";
}
else if (p_strValue.equals("A2") || p_strValue.equals("A3")){
p_strValue = "非常願意";
}
else if (p_strValue.equals("B2") || p_strValue.equals("B3")){
p_strValue = "願意";
}
else if (p_strValue.equals("C2") || p_strValue.equals("C3")){
p_strValue = "有一點願意";
}
else if (p_strValue.equals("D2") || p_strValue.equals("D3")){
p_strValue = "用不上";
}
return p_strValue;
}
/*
* @class TransformCityNameTrad
* @brief 通过传入的param得到相应的繁体城市名
* @param p_strValue:传入的城市代码
* @return 返回的是繁体的城市名
* @author kenshin
* @version 1.0
*/
public String TransformCityNameTrad(String p_strCityName){
if(p_strCityName.equals("A")){
p_strCityName = "北京市";
}
else if(p_strCityName.equals("B")){
p_strCityName = "重慶市";
}
else if(p_strCityName.equals("C")){
p_strCityName = "福建省";
}
else if(p_strCityName.equals("D")){
p_strCityName = "甘肅省";
}
else if(p_strCityName.equals("E")){
p_strCityName = "廣東省";
}
else if(p_strCityName.equals("F")){
p_strCityName = "廣西壯族自治區";
}
else if(p_strCityName.equals("G")){
p_strCityName = "贵州省";
}
else if(p_strCityName.equals("H")){
p_strCityName = "海南省";
}
else if(p_strCityName.equals("I")){
p_strCityName = "河北省";
}
else if(p_strCityName.equals("J")){
p_strCityName = "黑龍江省";
}
else if(p_strCityName.equals("K")){
p_strCityName = "河南省";
}
else if(p_strCityName.equals("L")){
p_strCityName = "湖北省";
}
else if(p_strCityName.equals("M")){
p_strCityName = "湖南省";
}
else if(p_strCityName.equals("N")){
p_strCityName = "江蘇省";
}
else if(p_strCityName.equals("O")){
p_strCityName = "江西省";
}
else if(p_strCityName.equals("P")){
p_strCityName = "吉林省";
}
else if(p_strCityName.equals("Q")){
p_strCityName = "辽宁省";
}
else if(p_strCityName.equals("R")){
p_strCityName = "内蒙古";
}
else if(p_strCityName.equals("S")){
p_strCityName = "寧夏回族自治區";
}
else if(p_strCityName.equals("T")){
p_strCityName = "青海省";
}
else if(p_strCityName.equals("U")){
p_strCityName = "陕西省";
}
else if(p_strCityName.equals("V")){
p_strCityName = "山東省";
}
else if(p_strCityName.equals("W")){
p_strCityName = "上海市";
}
else if(p_strCityName.equals("X")){
p_strCityName = "山西省";
}
else if(p_strCityName.equals("Y")){
p_strCityName = "四川省";
}
else if(p_strCityName.equals("Z")){
p_strCityName = "天津市";
}
else if(p_strCityName.equals("A1")){
p_strCityName = "新疆維吾爾自治區";
}
else if(p_strCityName.equals("A2")){
p_strCityName = "西藏自治區";
}
else if(p_strCityName.equals("A3")){
p_strCityName = "雲南省";
}
else if(p_strCityName.equals("A4")){
p_strCityName = "浙江省";
}
else if(p_strCityName.equals("A5")){
p_strCityName = "台湾";
}
else if(p_strCityName.equals("A6")){
p_strCityName = "香港特別行政區";
}
else if(p_strCityName.equals("A7")){
p_strCityName = "澳門特別行政區";
}
else if(p_strCityName.equals("A8")){
p_strCityName = "其他地區";
}
return p_strCityName;
}
/*
* @class TransformCityNameSimp
* @brief 通过传入的param得到相应的简体城市名
* @param p_strValue:传入的城市代码
* @return 返回的是简体的城市名
* @author kenshin
* @version 1.0
*/
public String TransformCityNameSimp(String p_strCityName){
if(p_strCityName.equals("A")){
p_strCityName = "北京市";
}
else if(p_strCityName.equals("B")){
p_strCityName = "重庆市";
}
else if(p_strCityName.equals("C")){
p_strCityName = "福建省";
}
else if(p_strCityName.equals("D")){
p_strCityName = "甘肃省";
}
else if(p_strCityName.equals("E")){
p_strCityName = "广东省";
}
else if(p_strCityName.equals("F")){
p_strCityName = "广西壮族自治区";
}
else if(p_strCityName.equals("G")){
p_strCityName = "贵州省";
}
else if(p_strCityName.equals("H")){
p_strCityName = "海南省";
}
else if(p_strCityName.equals("I")){
p_strCityName = "河北省";
}
else if(p_strCityName.equals("J")){
p_strCityName = "黑龙江省";
}
else if(p_strCityName.equals("K")){
p_strCityName = "河南省";
}
else if(p_strCityName.equals("L")){
p_strCityName = "湖北省";
}
else if(p_strCityName.equals("M")){
p_strCityName = "湖南省";
}
else if(p_strCityName.equals("N")){
p_strCityName = "江苏省";
}
else if(p_strCityName.equals("O")){
p_s
没有合适的资源?快使用搜索试试~ 我知道了~
flex第一步随书光盘(全).rar
共1500个文件
swf:227个
js:219个
mxml:157个
需积分: 0 15 下载量 18 浏览量
2008-10-08
14:05:10
上传
评论
收藏 15.32MB RAR 举报
温馨提示
flex第一步随书光盘.rar 代码比较齐全
资源详情
资源评论
资源推荐
收起资源包目录
flex第一步随书光盘(全).rar (1500个子文件)
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
.actionScriptProperties 2KB
共 1500 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
kathy0kathy
- 粉丝: 2
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0