package com.partynetwork.dataprovider.util; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class CityUtil { /** * 获取所有省份名字列表 * * @param ProvinceName * :城市信息数组的名字 * */ public static String[] getProvinceName() { String[] pro = new String[province.length]; for (int i = 0; i < province.length; i++) { pro[i] = province[i][0]; } return pro; } /** * 获取所有省份Id列表 * * @param ProvinceId * :城市信息数组的Id * */ public static String[] getProvinceId() { String[] pro = new String[province.length]; for (int i = 0; i < province.length; i++) { pro[i] = province[i][1]; } return pro; } /** * 通过城市信息数组的名字查找相应所有城市名字列表 * * @param ProvinceName * :城市信息数组的名字 * */ public static String[] getCityName4CityList(String[][] cityList) { String[] city = new String[cityList.length]; for (int i = 0; i < cityList.length; i++) { city[i] = cityList[i][0]; } return city; } /** * 通过城市信息数组的名字查找相应所有城市数据库编码列表 * * @param ProvinceName * :城市信息数组的名字 * */ public static int[] getCityId4CityList(String[][] cityList) { int[] city = new int[cityList.length]; for (int i = 0; i < cityList.length; i++) { city[i] = Integer.parseInt(cityList[i][1]); } return city; } /** * 通过城市信息数组的名字查找相应所有城市區號编码列表 * * @param ProvinceName * :城市信息数组的名字 * */ public static String[] getCityNum4CityList(String[][] cityList) { String[] city = new String[cityList.length]; for (int i = 0; i < cityList.length; i++) { city[i] = cityList[i][2]; } return city; } /** * 获得所有城市的名字 * * @return */ public static List<String> getAllCityName() { List<String> list = new ArrayList<String>(); for (int i = 0; i < province.length; i++) { list.addAll(Arrays.asList(getCityList4ProvinceIndex(i))); } return list; } public static int getId4Name(String name){ int proviceId=0; int cityId=0; for (int i = 0; i < province.length; i++) { String[] cityName=getCityList4ProvinceIndex(i); for(int j=0;j<cityName.length;j++){ if(cityName[j].equals(name)){ proviceId=i; cityId=j; } } } return getCityIdList4ProvinceIndex(proviceId)[cityId]; } public static String getNum4Name(String name){ int proviceId=0; int cityId=0; for (int i = 0; i < province.length; i++) { String[] cityName=getCityList4ProvinceIndex(i); for(int j=0;j<cityName.length;j++){ if(cityName[j].equals(name)){ proviceId=i; cityId=j; } } } return getCityNumList4ProvinceIndex(proviceId)[cityId]; } /** * 通过省份的索引值查找相应所有城市名字列表 * * @param ProvinceIndex * :省份索引 * */ public static String[] getCityList4ProvinceIndex(int ProvinceIndex) { String[] city = null; switch (ProvinceIndex) { case 0:// 北京 city = getCityName4CityList(beijing); break; case 1:// 广东 city = getCityName4CityList(guangdong); break; case 2:// 山西 city = getCityName4CityList(shanxi); break; case 3:// 山东 city = getCityName4CityList(shandong); break; case 4:// 云南 city = getCityName4CityList(yunnan); break; case 5:// 青海 city = getCityName4CityList(qinghai); break; case 6:// 福建 city = getCityName4CityList(fujian); break; case 7:// 安徽 city = getCityName4CityList(anhui); break; case 8:// 浙江 city = getCityName4CityList(zhejiang); break; case 9:// 甘肃 city = getCityName4CityList(gansu); break; case 10:// 西藏 city = getCityName4CityList(xizang); break; case 11:// 辽宁 city = getCityName4CityList(liaoning); break; case 12:// 江苏 city = getCityName4CityList(jiangsu); break; case 13:// 宁夏 city = getCityName4CityList(ningxia); break; case 14:// 四川 city = getCityName4CityList(sichuan); break; case 15:// 贵州 city = getCityName4CityList(guizhou); break; case 16:// 黑龙江 city = getCityName4CityList(heilongjiang); break; case 17:// 新疆 city = getCityName4CityList(xinjiang); break; case 18:// 海南 city = getCityName4CityList(hainan); break; case 19:// 吉林 city = getCityName4CityList(jilin); break; case 20:// 山西 city = getCityName4CityList(shanxi); break; case 21:// 河北 city = getCityName4CityList(hebei); break; case 22:// 广西 city = getCityName4CityList(guangxi); break; case 23:// 内蒙古 city = getCityName4CityList(neimenggu); break; case 24:// 河南 city = getCityName4CityList(henan); break; case 25:// 湖南 city = getCityName4CityList(hunan); break; case 26:// 湖北 city = getCityName4CityList(hubei); break; case 27:// 江西 city = getCityName4CityList(jiangxi); break; case 28:// 上海 city = getCityName4CityList(shanghai); break; case 29:// 天津 city = getCityName4CityList(tianjin); break; case 30:// 台湾 city = getCityName4CityList(taiwan); break; case 31:// 澳门 city = getCityName4CityList(aomen); break; case 32:// 香港 city = getCityName4CityList(xianggang); break; case 33:// 重庆 city = getCityName4CityList(chongqing); break; default: break; } return city; } /** * 通过省份的索引值查找相应所有城市编号列表 * * @param ProvinceIndex * :省份索引 * */ public static int[] getCityIdList4ProvinceIndex(int ProvinceIndex) { int[] city = null; switch (ProvinceIndex) { case 0:// 北京 city = getCityId4CityList(beijing); break; case 1:// 广东 city = getCityId4CityList(guangdong); break; case 2:// 山西 city = getCityId4CityList(shanxi); break; case 3:// 山东 city = getCityId4CityList(shandong); break; case 4:// 云南 city = getCityId4CityList(yunnan); break; case 5:// 青海 city = getCityId4CityList(qinghai); break; case 6:// 福建 city = getCityId4CityList(fujian); break; case 7:// 安徽 city = getCityId4CityList(anhui); break; case 8:// 浙江 city = getCityId4CityList(zhejiang); break; case 9:// 甘肃 city = getCityId4CityList(gansu); break; case 10:// 西藏 city = getCityId4CityList(xizang); break; case 11:// 辽宁 city = getCityId4CityList(liaoning); break; case 12:// 江苏 city = getCityId4CityList(jiangsu); break; case 13:// 宁夏 city = getCityId4CityList(ningxia); break; case 14:// 四川 city = getCityId4CityList(sichuan); break; case 15:// 贵州 city = getCityId4CityList(guizhou); break; case 16:// 黑龙江 city = getCityId4CityList(heilongjiang); break; case 17:// 新疆 city = getCityId4CityList(xinjiang); break; case 18:// 海南 city = getCityId4CityList(hainan); break; case 19:// 吉林 city = getCityId4CityList(jilin); break; case 20:// 山西 city = getCityId4CityList(shanxi); break; case 21:// 河北 city = getCityId4CityList(hebei); break; case 22:// 广西 city = getCityId4CityList(guangxi); break; case 23:// 内蒙古 city = getCityId4CityList(neimenggu); break; case 24:// 河南 city = getCityId4CityList(henan); break; case 25:// 湖南 city = getCityId4CityList(hunan); break; case 26:// 湖北 city = getCityId4CityList(hubei); break; case 27:// 江西 city = getCityId4CityList(jiangxi); break; case 28:// 上海 city = getCityId4CityList(shanghai); break; case 29:// 天津 city = getCityId4CityList(tianjin); break; case 30:// 台湾 city = getCityId4CityList(taiwan); break; case 31:// 澳门 city = getCityId4CityList(aomen); break; case 32:// 香港 city = getCityId4CityList(xianggang); break; case 33:// 重庆 city = getCityId4CityList(chongqing); break; default: break; } return city; } /** * 通过省份的索引值查找相应所有城市编号列表 * * @param ProvinceIndex * :省份索引 * */ public static String[] getCityNumList4ProvinceIndex(int ProvinceIndex) { String[] city = null; switch (ProvinceIndex) { case 0:// 北京 city = getCityNum4CityList(beijing); break; case 1:// 广东 city = getCityNum4CityList(guangdong); break; case 2:// 山西 city = getCityNum4CityList(shanxi); break; case 3:// 山东 city = getCityNum4CityList(shandong); break; case 4:// 云南 city = getCityNum4CityList(yunnan); break; case 5:// 青海 city = getCityNum4CityList(qinghai); break; case 6:// 福建 city = getCityNum4CityList(fujian); break; case 7:// 安徽 city = getCityNum4CityList(anhui); break; case 8:// 浙江 city = getCityNum4CityList(zhejiang); break; case 9:// 甘肃 city = getCityNum4CityList(gansu); break; case 10:// 西藏 city = getCityNum4CityList(xizang); break; case 11:// 辽宁 city = getCityNum4CityList(liaoning); break; case 12:// 江苏 city = getCityNum4CityList(jiangsu); break; case 13:// 宁夏 city = getCityNum4CityList(ningxia); break; case 14:// 四川 city = getCityNum4CityList(sichuan); break; case 15:// 贵州 city = getCityNum4CityList(guizhou); break; case 16:// 黑龙江 city = getCityNum4CityList(heilongjiang); break; case 17:// 新疆 city = getCityNum4CityList(xinjiang); break; case 18:// 海南 city = getCityNum4CityList(hainan); break; case 19:// 吉林 city = getCityNum4CityList(jilin); break; case 20:// 山西 city = getCityNum4CityList(shanxi); break; case 21:// 河北 city = getCityNum4CityList(hebei); break; case 22:// 广西 city = getCityNum4CityList(guangxi); break; case 23:// 内蒙古 city = getCityNum4CityList(neimenggu); break; case 24:// 河南 city = getCityNum4CityList(henan); break; case 25:// 湖南 city = getCityNum4CityList(hunan); break; case 26:// 湖北 city = getCityNum4CityList(hubei); break; case 27:// 江西 city = getCityNum4CityList(jiangxi); break; case 28:// 上海 city = getCityNum4CityList(shanghai); break; case 29:// 天津 city = getCityNum4CityList(tianjin); break; case 30:// 台湾 city = getCityNum4CityList(taiwan); break; case 31:// 澳门 city = getCityNum4CityList(aomen); break; case 32:// 香港 city = getCityNum4CityList(xianggang); break; case 33:// 重庆 city = getCityNum4CityList(chongqing); break; default: break; } return city; } /** * 城市编码 */ public final static String[][] province = { { "北京", "2912" }, { "广东", "2914" }, { "山西", "2937" }, { "山东", "2949" }, { "云南", "2967" }, { "青海", "2984" }, { "福建", "2993" }, { "安徽", "3004" }, { "浙江", "3022" }, { "甘肃", "3034" }, { "西藏自治区", "3049" }, { "辽宁", "3057" }, { "江苏", "3072" }, { "宁夏", "3086" }, { "四川", "3092" }, { "贵州", "3114" }, { "黑龙江", "3124" }, { "新疆维吾尔自治区", "3138" }, { "海南", "3157" }, { "吉林", "3179" }, { "陕西", "3190" }, { "河北", "3201" }, { "广西壮族自治区", "3213" }, { "内蒙古", "3228" }, { "河南", "3241" }, { "湖南", "3260" }, { "湖北", "3275" }, { "江西", "3293" }, { "上海", "3305" }, { "天津", "3307" }, { "台湾", "3309" }, { "澳门", "3311" }, { "香港", "3313" }, { "重庆", "3315" } }; public final static String[][] beijing = { { "北京", "2913","010" } }; public final static String[][] guangdong = { { "深圳", "2915","0755" }, { "珠海", "2916","0756" }, { "广州", "2918","020" }, { "汕头", "2919","0754" }, { "东莞", "2920","0769" }, { "汕尾", "2921","0660" }, { "佛山", "2922","0757" }, { "韶关", "2923","0751" }, { "河源", "2924","0762" }, { "潮州", "2925","0768" }, { "阳江", "2926","0662" }, { "惠州", "2927","0752" }, { "云浮", "2928","0766" }, { "湛江", "2929" ,"0759"}, { "江门", "2930","0750" }, { "揭阳", "2931","0663" }, { "肇庆", "2932","0758" }, { "茂名", "2933","0668" }, { "中山", "2934","0760" }, { "梅州", "2935" ,"0753"}, { "清远", "2936" ,"0763"} }; public final static String[][] shanxi = { { "临汾", "2938","0357" }, { "吕梁", "2939","0358" }, { "大同", "2940","0352" }, { "太原", "2941","0351" }, { "忻州", "2942" ,"0350"}, { "晋中", "2943","0354" }, { "长治", "2944","0355" }, { "晋城", "2945" ,"0356"}, { "朔州", "2946" ,"0349"}, { "阳泉", "2947" ,"0353"}, { "运城", "2948" ,"0359"} }; public final static String[][] shandong = { { "东营", "2950" ,"0546"}, { "临沂", "2951" ,"0539"}, { "德州", "2952","0534" }, { "威海", "2953" ,"0631"}, { "日照", "2954" ,"0633"}, { "枣庄", "2955" ,"0632"}, { "泰安", "2956" ,"0538"}, { "济宁", "2957" ,"0537"}, { "济南", "2958","05316" }, { "淄博", "2959","0533" }, { "滨州", "2960" ,"0543"}, { "潍坊", "2961" ,"0536"}, { "烟台", "2962" ,"0535"}, { "聊城", "2963" ,"0635"}, { "莱芜", "2964" ,"0634"}, { "菏泽", "2965" ,"0530"}, { "青岛", "2966" ,"0532"} }; public final static String[][] yunnan = { { "临沧", "2968" ,"0883"}, { "丽江", "2969" ,"0888"}, { "保山", "2970" ,"0875"}, { "大理", "2971" ,"0872"}, { "德宏", "2972" ,"0692"}, { "怒江", "2973" ,"0886"}, { "思茅", "2974" ,"0879"}, { "文山", "2975" ,"0876"}, { "昆明", "2976" ,"0871"}, { "昭通", "2977","0870" }, { "曲靖", "2978" ,"0874"}, { "楚雄", "2979" ,"0878"}, { "玉溪", "2980" ,"0877"}, { "红河哈尼", "2981" ,"0873"}, { "西双版纳", "2982" ,"0691"}, { "迪庆", "2983" ,"0877"} }; public final static String[][] qinghai = { { "西宁", "2985" ,"0971"}, { "海东地区", "2986" ,"0972"}, { "玉树藏族自治州", "2987" ,"0976"}, { "黄南藏族自治州", "2988","0973" }, { "海南藏族自治州", "2989" ,"0974"}, { "海北藏族自治州", "2990" ,"0970"}, { "果洛藏族自治州", "2991" ,"0975"}, { "海西蒙古族藏族自治州", "2992" ,"0977"} }; public final static String[][] fujian = { { "福州", "2994" ,"0591"}, { "龙岩", "2995","0597" }, { "南平", "2996","0599" }, { "宁德", "2997" ,"0593"}, { "莆田", "2998" ,"0594"}, { "泉州", "2999" ,"0595"}, { "三明", "3000" ,"0598"}, { "厦门", "3001" ,"0592"}, { "漳州", "3002" ,"0596"}, { "武夷山", "3003" ,"0599"} }; public final static String[][] anhui = { { "毫州", "3005","0558" }, { "六安", "3006" ,"0564"}, { "合肥", "3007" ,"0551"}, { "安庆", "3008" ,"0556"}, { "宣城", "3009" ,"0563"}, { "宿州", "3010" ,"0557"}, { "巢湖", "3011" ,"0565"}, { "池州", "3012" ,"0566"}, { "淮北", "3013" ,"0561"}, { "淮南", "3014" ,"0554"}, { "滁州", "3015" ,"0550"}, { "芜湖", "3016" ,"0553"}, { "蚌埠", "3017" ,"0552"}, { "铜陵", "3018" ,"0562"}, { "阜阳", "3019","0558"}, { "马鞍山", "3020" ,"0555"}, { "黄山", "3021" ,"0559"} }; public final static String[][] zhejiang = { { "宁波", "3023" ,"0574"}, { "杭州", "3024" ,"0571"}, { "湖州", "3025" ,"0572"}, { "嘉兴", "3026" ,"0573"}, { "金华", "3027" ,"0579"}, { "舟山", "3028" ,"0580"}, { "丽水", "3029" ,"0578"}, { "衢州", "3030" ,"0570"}, { "绍兴", "3031" ,"0575"}, { "温州", "3032","0577" }, { "台州", "3033" ,"0576"} }; public final static String[][] gansu = { { "兰州", "3035" ,"0931"}, { "张掖市", "3036" ,"0936"}, { "武威", "3037" ,"0935"}, { "天水", "3038","0938" }, { "庆阳", "3039" ,"0934"}, { "平凉", "3040" ,"0933"}, { "陇南", "3041","0939" }, { "酒泉", "3042" ,"0937"}, { "金昌", "3043" ,"0935"}, { "嘉峪关", "3044" ,"0937"}, { "定西", "3045" ,"0932"}, { "白银", "3046" ,"0943"}, { "甘南藏族自治州", "3047" ,"0941"}, { "临夏回族自治州", "3048" ,"0930"} }; public final static String[][] xizang = { { "山南地区", "3050" ,"0893"}, { "拉萨", "3051" ,"0891"}, { "日喀则", "3052" ,"0892"}, { "昌都", "3053" ,"0895"}, { "林芝地区", "3054" ,"0894"}, { "那曲地区", "3055" ,"0896"}, { "阿里地区", "3056","0897" } }; public final static String[][] liaoning = { { "鞍山", "3058" ,"0412"}, { "葫芦岛", "3059" ,"0429"}, { "本溪", "3060" ,"0414"}, { "锦州", "3061" ,"0416"}, { "朝阳", "3062","0421" }, { "辽阳", "3063" ,"0419"}, { "大连", "3064" ,"0411"}, { "盘锦", "3065" ,"0427"}, { "丹东", "3066" ,"0415"}, { "沈阳", "3067" ,"024"}, { "抚顺", "3068" ,"0413"}, { "铁岭", "3069" ,"0410"}, { "阜新", "3070" ,"0418"}, { "营口", "3071" ,"0417"} }; public final static String[][] jiangsu = { { "南京", "3073" ,"025"}, { "南通", "3074" ,"0513"}, { "宿迁", "3075" ,"0527"}, { "常州", "3076","0519" }, { "徐州", "3077" ,"0516"}, { "扬州", "3078" ,"0514"}, { "无锡", "3079" ,"05103"}, { "泰州", "3080" ,"0523"}, { "淮安", "3081" ,"0517"}, { "盐城", "3082" ,"0515"}, { "苏州", "3083" ,"0512"}, { "连云港", "3084" ,"0518"}, { "镇江", "3085" ,"0511"} }; public final static String[][] ningxia = { { "银川", "3087" ,"0951"}, { "固原", "3088" ,"0954"}, { "吴忠", "3089" ,"0953"}, { "石嘴山", "3090" ,"0952"}, { "中卫", "3091" ,"0955"} }; public final static String[][] sichuan = { { "攀枝花", "3093" ,"0812"}, { "乐山", "3094" ,"0833"}, { "内江", "3095" ,"08323"}, { "凉山", "3096" ,"0834"}, { "南充", "3097" ,"0817"}, { "宜宾", "3098" ,"0831"}, { "巴中", "3099" ,"0827"}, { "广元", "3100" ,"0839"}, { "广安", "3101" ,"0826"}, { "德阳", "3102" ,"0838"}, { "成都", "3103","028" }, { "泸州", "3104" ,"0830"}, { "甘孜", "3105" ,"0836"}, { "眉山", "3106" ,"0833"}, { "绵阳", "3107" ,"0816"}, { "自贡", "3108" ,"0813"}, { "资阳", "3109" ,"0832"}, { "达州", "3110" ,"0818"}, { "遂宁", "3111" ,"0825"}, { "阿坝藏族羌族", "3112" ,"0837"}, { "雅安", "3113" ,"0835"} }; public final static String[][] guizhou = { { "贵阳", "3115" ,"8513"}, { "六盘水", "3116" ,"0858"}, { "安顺", "3117" ,"0853"}, { "毕节地区", "3118" ,"0857"}, { "遵义", "3119" ,"0852"}, { "铜仁地区", "3120" ,"0856"}, { "黔东南苗族侗族自治州", "3121","08553" }, { "黔南布依族苗族自治州", "3122","0854" }, { "黔西南布族苗族自治州", "3123" ,"0859"} }; public final static String[][] heilongjiang = { { "哈尔滨", "3125" ,"0451"}, { "伊春", "3126" ,"0458"}, { "大庆", "3127" ,"0459"}, { "双鸭山", "3128" ,"0469"}, { "鹤岗", "3129" ,"0468"}, { "佳木斯", "3130","0454" }, { "黑河", "3131" ,"0456"}, { "牡丹江", "3132","0453" }, { "鸡西", "3133" ,"0467"}, { "七台河", "3134" ,"0464"}, { "绥化", "3135" ,"0455"}, { "齐齐哈尔", "3136" ,"0452"}, { "大兴安岭地区", "3137" ,"0457"} }; public final static String[][] xinjiang = { { "乌鲁木齐", "3139","0991" }, { "五家渠", "3140","0994" }, { "伊梨哈萨克", "3141" ,"0999"}, { "克孜勒苏柯尔克孜", "3142","0908" }, { "克拉玛依", "3143" ,"0990"}, { "博尔塔拉", "3144" ,"0909"}, { "吐鲁番", "3145" ,"0995"}, { "和田地区", "3146" ,"0903"}, { "哈密地区", "3147" ,"0902"}, { "喀什地区", "3148" ,"0998"}, { "图木舒克", "3149" ,"0998"}, { "塔城地区", "3150" ,"0901"}, { "巴音郭楞", "3151" ,"0996"}, { "昌吉", "3152" ,"0994"}, { "石河子", "3153" ,"0993"}, { "阿克苏地区", "3154" ,"0997"}, { "阿勒泰", "3155" ,"0906"}, { "阿拉尔", "3156" ,"0997"} }; public final static String[][] hainan = { { "海口", "3158","0898" }, { "白沙", "3159","0898" }, { "三亚", "3160" ,"0898"}, { "琼中", "3161","0898" }, { "东方", "3162" ,"0898"}, { "昌江", "3163" ,"0898"}, { "万宁", "3164","0898" }, { "保亭", "3165" ,"0898"}, { "琼海", "3166","0898" }, { "乐东", "3167" ,"0898"}, { "文昌", "3168" ,"0898"}, { "陵水", "3169" ,"0898"}, { "儋州", "3170","0898" }, { "五指山", "3171" ,"0898"}, { "澄迈县", "3172" ,"0898"}, { "南沙群岛", "3173","0898" }, { "屯昌县", "3174" ,"0898"}, { "西沙群岛", "3175" ,"0898"}, { "定安县", "3176" ,"0898"}, { "中沙群岛", "3177" ,"0898"}, { "临高县", "3178" ,"0898"} }; public final static String[][] jilin = { { "延吉", "3180" ,"0433"}, { "白山", "3181" ,"0439"}, { "白城", "3182" ,"0436"}, { "吉林", "3183","0432" }, { "长春", "3184" ,"0431"}, { "四平", "3185","0434" }, { "辽源", "3186","0437"}, { "通化", "3187" ,"0435"}, { "松原", "3188" ,"0438"}, { "延边朝鲜族自治州", "3189","0433" } }; public final static String[][] shaanxi = { { "咸阳", "3191" ,"029"}, { "商洛", "3192" ,"0914"}, { "安康", "3193" ,"0915"}, { "宝鸡", "3194" ,"0917"}, { "延安", "3195" ,"0911"}, { "榆林", "3196" ,"0912"}, { "汉中", "3197","0916" }, { "渭南", "3198" ,"0913"}, { "西安", "3199","029" }, { "铜川", "3200" ,"0919"} }; public final static String[][] hebei = { { "石家庄", "3202" ,"0311"}, { "邢台", "3203" ,"0319"}, { "邯郸", "3204" ,"0310"}, { "衡水", "3205" ,"0318"}, { "秦皇岛", "3206" ,"0335"}, { "沧州", "3207" ,"0317"}, { "承德", "3208" ,"0314"}, { "张家口", "3209" ,"0313"}, { "廊坊", "3210" ,"0316"}, { "唐山", "3211" ,"0315"}, { "保定", "3212" ,"0312"} }; public final static String[][] guangxi = { { "北海", "3214" ,"0779"}, { "南宁", "3215" ,"0771"}, { "崇左", "3216" ,"0771"}, { "来宾", "3217","07729" }, { "柳州", "3218","0772" }, { "桂林", "3219" ,"0773"}, { "梧州", "3220" ,"0774"}, { "河池", "3221" ,"0778"}, { "玉林", "3222" ,"0775"}, { "百色", "3223","0776" }, { "贵港", "3224","0775" }, { "贺州", "3225" ,"0774"}, { "钦州", "3226" ,"0777"}, { "防城港", "3227" ,"0770"} }; public final static String[][] neimenggu = { { "呼和浩特", "3229" ,"0471"}, { "锡林郭勒", "3230","0479" }, { "阿拉善盟", "3231" ,"0483"}, { "鄂尔多斯", "3232" ,"0477"}, { "巴彦淖尔", "3233" ,"0478"}, { "呼伦贝尔", "3234" ,"0401"}, { "乌兰察布", "3235" ,"04741"}, { "乌海", "3236" ,"0473"}, { "包头", "3237" ,"0472"}, { "兴安盟", "3238" ,"0482"}, { "赤峰", "3239" ,"0476"}, { "通辽", "3240" ,"0475"} }; public final static String[][] henan = { { "郑州", "3242" ,"0371"}, { "驻马", "3243" ,"0396"}, { "鹤壁", "3244" ,"03921"}, { "许昌", "3245" ,"0374"}, { "焦作市", "3246" ,"0391"}, { "濮阳", "3247","0393" }, { "漯河", "3248" ,"0395"}, { "济源", "3249" ,"0391"}, { "洛阳", "3250" ,"0379"}, { "新乡", "3251","0373" }, { "开封", "3252" ,"0378"}, { "平顶山", "3253" ,"0375"}, { "安阳", "3254" ,"0372"}, { "商丘", "3255","0370" }, { "周口", "3256" ,"0394"}, { "南阳", "3257" ,"0377"}, { "信阳", "3258" ,"0376"}, { "三门峡", "3259" ,"0398"} }; public final static String[][] hunan = { { "娄底", "3261","0738" }, { "岳阳", "3262" ,"0730"}, { "常德", "3263" ,"0736"}, { "张家界", "3264","0744" }, { "怀化", "3265" ,"0745"}, { "株洲", "3266" ,"0731"}, { "永州", "3267","0746" }, { "湘潭", "3268" ,"0731"}, { "湘西", "3269","07438" }, { "益阳", "3270" ,"0737"}, { "衡阳", "3271" ,"0734"}, { "邵阳", "3272" ,"0739"}, { "郴州", "3273" ,"0735"}, { "长沙", "3274" ,"0731"} }; public final static String[][] hubei = { { "武汉", "3276" ,"027"}, { "黄石", "3277" ,"0714"}, { "黄冈", "3278" ,"07134"}, { "随州", "3279" ,"0722"}, { "鄂州", "3280" ,"0711"}, { "襄樊", "3281" ,"0710"}, { "荆门市", "3282" ,"0724"}, { "荆州", "3283" ,"0716"}, { "神农架", "3284" ,"0719"}, { "潜江", "3285","0728" }, { "宜昌", "3286" ,"0717"}, { "孝感", "3287","0712" }, { "天门", "3288" ,"0728"}, { "咸宁", "3289" ,"0715"}, { "十堰", "3290" ,"0719"}, { "仙桃", "3291" ,"0728"}, { "恩施土家族苗族自治州", "3292","0718" } }; public final static String[][] jiangxi = { { "鹰潭", "3294","0701"}, { "上饶", "3295","0793" }, { "九江", "3296","0792" }, { "南昌", "3297" ,"0791"}, { "吉安", "3298" ,"0796"}, { "宜春", "3299" ,"0795"}, { "抚州", "3300" ,"0794"}, { "新余", "3301","0790" }, { "景德镇", "3302","0798" }, { "萍乡", "3303" ,"0799"}, { "赣州", "3304" ,"0797"} }; public final static String[][] shanghai = { { "上海", "3306","021"} }; public final static String[][] tianjin = { { "天津", "3308" ,"0224"} }; public final static String[][] taiwan = { { "台湾", "3310" ,"00886"} }; public final static String[][] aomen = { { "澳门", "3312" ,"853"} }; public final static String[][] xianggang = { { "香港", "3314" ,"852"} }; public final static String[][] chongqing = { { "重庆", "3316","023" } }; }