public static void writeToFile(File file, InputStream inputStream) {
        writeToFile(file, inputStream, true);
    }
Write inputStream to file

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