code: public static void AssertLegalLocalFilePath(String localFilePath) throws ParamException {
          if (localFilePath == null || !CommonFileUtils.isLegalFile(localFilePath)) {
              throw new ParamException(localFilePath + " is not file or not exist or can't be read!");
          }
      }
docs: 判断用户指定的本地文件路径是否合法有效，即文件存在且可读
  
  @param localFilePath 本地文件路径
  @throws ParamException