public Address getAddresses(String content, String encodingString) throws UnsupportedEncodingException {
        // 这里调用pconline的接口
        String urlStr = "http://ip.taobao.com/service/getIpInfo.php";
        // 从http://whois.pconline.com.cn取得IP所在的省市区信息
        String returnStr = this.getResult(urlStr, content, encodingString);
        if (returnStr != null) {
            // 处理返回的省市区信息
            System.out.println(returnStr);
            String[] temp = returnStr.split(",");
            if (temp.length < 3) {
                return null;// 无效IP，局域网测试
            }
            String region = (temp[5].split(":"))[1].replaceAll("\"", "");
            region = decodeUnicode(region);// 省份

            String country = "";
            String area = "";
            // String region = "";
            String city = "";
            String county = "";
            String isp = "";
            for (int i = 0;i < temp.length;i++) {
                switch (i) {
                case 1:
                    country = (temp[i].split(":"))[2].replaceAll("\"", "");
                    country = decodeUnicode(country);// 国家
                    break;
                case 3:
                    area = (temp[i].split(":"))[1].replaceAll("\"", "");
                    area = decodeUnicode(area);// 地区
                    break;
                case 5:
                    region = (temp[i].split(":"))[1].replaceAll("\"", "");
                    region = decodeUnicode(region);// 省份
                    break;
                case 7:
                    city = (temp[i].split(":"))[1].replaceAll("\"", "");
                    city = decodeUnicode(city);// 市区
                    break;
                case 9:
                    county = (temp[i].split(":"))[1].replaceAll("\"", "");
                    county = decodeUnicode(county);// 地区
                    break;
                case 11:
                    isp = (temp[i].split(":"))[1].replaceAll("\"", "");
                    isp = decodeUnicode(isp); // ISP公司
                    break;
                }
            }

            Address address = new Address();
            address.setArea(area);
            address.setCity(city);
            address.setCountry(country);
            address.setCounty(county);
            address.setIsp(isp);
            address.setRegion(region);
            return address;
        }
        return null;
    }