IT-KIMI_SHI\SINOIT.KIMI
2018-06-04 b12dfac6e495d6cf38df6b7e5222191f59762900
source/my/frame/src/frame/util/Util.java
@@ -545,4 +545,23 @@
      return calendar.get(Calendar.MONTH) + 1;
   }
   public static String joinPath(String parent, String path) {
      if (isEmptyStr(parent)) {
         return path;
      }
      parent = parent.replace("\\", "/");
      path = path.replace("\\", "/");
      if ('/' == parent.charAt(parent.length() - 1)) {
         parent = parent.substring(0, parent.length() - 1);
      }
      if ('/' == path.charAt(0)) {
         path = path.substring(1);
      }
      return parent + "/" + path;
   }
}