public static String[] analysJobLocation(JiangMenResume resume) {
   String[] loc = {"", "", ""};
   Set locSet = new HashSet();
   if (resume != null) {
     String loc1 = "", loc2 = "";
     if (!"".equals(StringUtil.getNotNullStr(resume.getJobLocation1()))) {
       loc1 =
           MapTable.getCodeTwo(
               StringUtil.getNotNullStr(resume.getJobLocation1()), MapTable.jobLocation);
     }
     if (!"".equals(StringUtil.getNotNullStr(resume.getJobLocation2()))) {
       loc2 =
           MapTable.getCodeTwo(
               StringUtil.getNotNullStr(resume.getJobLocation2()).replaceAll(" ", ""),
               MapTable.jobLocation);
     }
     if (!"".equals(loc1)) {
       locSet.add(loc1);
     }
     if (!"".equals(loc2)) {
       locSet.add(loc2);
     }
     if (locSet.size() > 0) {
       int i = 0;
       Iterator iterator = locSet.iterator();
       while (iterator.hasNext()) {
         loc[i] = (String) iterator.next();
         i++;
       }
     }
   }
   return loc;
 }
 public static int getSchoolBeginDate(JiangMenResume resume) {
   int beginDate = 0;
   String endDate = StringUtil.getNotNullStr(resume.getGraduateDate());
   int addYear =
       StringUtil.parseInt(
           MapTable.getCodeTwo(
               StringUtil.getNotNullStr(resume.getHighDegree()), MapTable.addYear));
   if (addYear > 0) {
     String[] temp = endDate.split("年");
     if (temp != null && temp.length > 0) {
       int beginYear = StringUtil.parseInt(temp[0]);
       beginDate = beginYear - addYear;
     }
     temp = null;
   }
   return beginDate;
 }
 public static String[] analysJobCata(JiangMenResume resume) {
   String[] job = {"", "", "", ""};
   Set jobSet = new HashSet();
   if (resume != null) {
     String job1 = "", job2 = "", job3 = "";
     if (!"".equals(StringUtil.getNotNullStr(resume.getJobcode1()))) {
       job1 =
           MapTable.getCodeTwo(StringUtil.getNotNullStr(resume.getJobcode1()), MapTable.jobCode);
       job[3] = StringUtil.getNotNullStr(resume.getJobcode1());
     }
     if (!"".equals(StringUtil.getNotNullStr(resume.getJobcode2()))) {
       job2 =
           MapTable.getCodeTwo(StringUtil.getNotNullStr(resume.getJobcode2()), MapTable.jobCode);
       if ("".equals(job[3])) job[3] = StringUtil.getNotNullStr(resume.getJobcode2());
     }
     if (!"".equals(StringUtil.getNotNullStr(resume.getJobcode3()))) {
       job3 =
           MapTable.getCodeTwo(StringUtil.getNotNullStr(resume.getJobcode3()), MapTable.jobCode);
       if ("".equals(job[3])) job[3] = StringUtil.getNotNullStr(resume.getJobcode2());
     }
     if (!"".equals(job1)) {
       jobSet.add(job1);
     }
     if (!"".equals(job2)) {
       jobSet.add(job2);
     }
     if (!"".equals(job3)) {
       jobSet.add(job3);
     }
     if (jobSet.size() > 0) {
       int i = 0;
       Iterator iterator = jobSet.iterator();
       while (iterator.hasNext()) {
         job[i] = (String) iterator.next();
         i++;
       }
     }
   }
   return job;
 }