code: public String getAbsoluteAvatarPath(String name, String type) {
      StringBuilder sb = new StringBuilder(avatarDir);
      sb.append(name).append('.').append(type.toLowerCase());
      return sb.toString();
    }
docs: 根据名称和类型得到文件绝对路径
  
  @param name
  @param type