java.lang.Object
es.kukenan.smartfi.microservice.contracts.utils.FileUtils

public class FileUtils extends Object
Files utilities.
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • donwloadFile

      public static void donwloadFile(File coreFile, javax.servlet.http.HttpServletResponse response) throws IOException
      Send to response a specific file.
      Parameters:
      coreFile - file from core.
      response - Http response.
      Throws:
      IOException - IOException while downloading a file.