Class FileUtils
java.lang.Object
es.kukenan.smartfi.microservice.contracts.utils.FileUtils
Files utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddonwloadFile(File coreFile, javax.servlet.http.HttpServletResponse response) Send to response a specific file.
-
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.
-