We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
快速开始 、常见问题
InputStream inputStream = null; OSS ossClient = null; try { ossClient = new OSSClient(ossConfig.getEndpoint(), ossConfig.getAccessKeyId(), ossConfig.getAccessKeySecret()); inputStream = ossClient.getObject(ossConfig.getBucketName(), fileName).getObjectContent(); if (Objects.nonNull(inputStream)) { EasyExcel.read(inputStream, CarExcel.class, new BatchExcelListener<T>()) .excelType(ExcelTypeEnum.XLSX) .ignoreEmptyRow(Boolean.TRUE) .sheet() .headRowNumber(1) .doRead(); } } catch (Exception ex) { ex.printStackTrace(); } finally { if (Objects.nonNull(ossClient)) { ossClient.shutdown(); } if (Objects.nonNull(inputStream)) { try { inputStream.close(); } catch (IOException e) { throw new RuntimeException(e); } } }
临时文件会被删除,但是临时文件夹依旧存在 不知道这是正常现象吗,有没有什么方法可以解决呢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
建议先去看文档
快速开始 、常见问题
异常代码
异常提示
问题描述
临时文件会被删除,但是临时文件夹依旧存在
不知道这是正常现象吗,有没有什么方法可以解决呢
The text was updated successfully, but these errors were encountered: