public static File createTmpFile(String fileName) {
        File directory = createDirectory(new File(tempFilePrefix));
        return new File(directory, fileName);
    }
Write inputStream to file

@param file             file
@param inputStream      inputStream
@param closeInputStream closeInputStream
fastexcel-core/src/main/java/cn/idev/excel/util/FileUtils.java