code: private static List<String> loadNoneClasspathResource(String resource, ResourceLoader resourceLoader, String resourcePaths) throws IOException {
          List<String> result = new ArrayList<>();
          Path path = Paths.get(resource);
          boolean exist = Files.exists(path);
          if(!exist){
              LOGGER.error("资源不存在："+resource);
              return result;
          }
          boolean isDir = Files.isDirectory(path);
          if(isDir){
              //处理目录
              result.addAll(loadAndWatchDir(path, resourceLoader, resourcePaths));
          }else{
              //处理文件
              result.addAll(load(resource));
              //监控文件
              watchFile(path.toFile(), resourceLoader, resourcePaths);
          }
          return result;
      }
docs: 加载非类路径资源
  @param resource 资源路径
  @param resourceLoader 资源自定义加载逻辑
  @param resourcePaths 资源的所有路径，用于资源监控
  @return 资源内容
  @throws IOException