import net.sourceforge.pinyin4j.PinyinHelper;
 import java.util.regex.Pattern;
         String hostName = "集团 2012 版知识库管理系统";
         String HostName1 = "";
         
         //数据转换,去掉空格
         for (int i = 0; i < hostName.length(); i++) {
             String qq =hostName.substring(i,i+1);
             if(qq.equals("集")){
                 HostName1+="H";
             }
             else if(qq.equals("团")){
                 HostName1+="Q";
             }
             else if(qq.equals("版")){
             }
             else if(qq.equals(" ")){
             }
             else {
                 HostName1+=qq;
             }
         }
         String str =HostName1;
         String convert = "";
         for (int i = 0; i < str.length(); i++) {
             char word = str.charAt(i);            //提取汉字的首字目
             String[] pinyinArray = PinyinHelper.toHanyuPinyinStringArray(word);
             if (pinyinArray != null) {
                 convert += pinyinArray[0].charAt(0);
             }
             else {
                 convert += word;
             }
         }
         //转换大写
         String newStr =convert.toUpperCase();
         //去掉数字
         String description = Pattern.compile("[\\\d]").matcher(newStr).replaceAll("");
          String sysNm = "${systemType}".toUpperCase();