IFileService.java 453 B

12345678910111213141516
  1. package com.kgraph.common.service;
  2. import com.kgraph.common.config.KgraphConfig;
  3. import com.kgraph.common.utils.file.FileUtils;
  4. import org.springframework.scheduling.annotation.Async;
  5. import org.springframework.stereotype.Service;
  6. import java.io.IOException;
  7. public interface IFileService {
  8. public static final String ES_PATH = KgraphConfig.getProfile() + "/ElasticSearchFile";
  9. void copyFileToESPath(String filePath) throws IOException;
  10. }