?? encoding.java
字號:
/*
* Created on 2005-8-5
*
*/
package banksystem;
import banksystem.Constants;
/**
* @author 曲本盛
*
* TODO Struts 項目實踐
*/
public class Encoding {
public static String CNtoISO(String str){
String temp = "";
try{
temp = new String(str.getBytes(Constants.ISO_ENCODING),Constants.CN_ENODING);
}
catch(Exception e){
throw new RuntimeException(e);
}
return temp;
}
public static String ISOtoCN(String str){
String temp = "";
try{
temp = new String(str.getBytes(Constants.CN_ENODING),Constants.ISO_ENCODING);
}
catch(Exception e){
throw new RuntimeException(e);
}
return temp;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -