📜  测试 excel 文件 java multipart - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:13.398000             🧑  作者: Mango

代码示例1
MultipartFile file = new MockMultipartFile("filename", "someTestFile.xls", "application/vnd.ms-excel", new ClassPathResource("someTestFile.xls").getInputStream());