/*
* Tools.java
*
* Created on 2006年10月24日, 下午1:02
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package TiKuMS;
/**
*
* @author hp
*/
public class Tools {
public static String toChinese(String strvalue)
{
try{
if(strvalue==null)
return null;
else
{
strvalue = new String(strvalue.getBytes("ISO8859_1"), "GBK");
return strvalue;
}
}catch(Exception e){
return null;
}
}
/** Creates a new instance of Tools */
public Tools() {
}
}