| | |
| | | if (!parentDir.exists()) {
|
| | | parentDir.mkdirs(); // 创建文件所在的目录,包括父目录
|
| | | }
|
| | | // 本地临时录像地址
|
| | | String tempExcel = ARDConfig.getProfile() + Constants.LOCAL_EXCEL_TEMP_PREFIX + "/temp.xlsx";
|
| | | // 创建临时文件
|
| | | String tempExcel= System.getProperty("java.io.tmpdir") + "temp.xlsx";
|
| | | File tempFile = new File(tempExcel);
|
| | | List<ExcelData> existingData = new ArrayList<>();
|
| | | if (file.exists()) {
|
| | |
| | | */ |
| | | public static final String LOCAL_RECORD_TEMP_PREFIX = "/LocalRecordTemp"; |
| | | /** |
| | | * 本地临时EXCEL路径 前缀 |
| | | */ |
| | | public static final String LOCAL_EXCEL_TEMP_PREFIX = "/LocalExcelTemp"; |
| | | /** |
| | | * RMI 远程方法调用 |
| | | */ |
| | | public static final String LOOKUP_RMI = "rmi:"; |