📄 decode.java
字号:
/*
* Created on 2008-3-20
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.ibm.j2ee.zhanjiang.bean;
/**
* @author J2EE
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Decode {
public Decode(){};
public static String deCode(String iso) {
String gb = null;
if (iso != null) {
try {
gb = new String(iso.getBytes("ISO-8859-1"), "gb2312");
} catch (Exception e) {
gb = null;
}
}
return gb;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -