| | |
| | | zipFolder.mkdirs(); |
| | | } |
| | | |
| | | String subPath = zipFolder + File.separator + meta.getName().toLowerCase().replace(".zip", ""); |
| | | // String subPath = zipFolder + File.separator + meta.getName().toLowerCase().replace(".zip", "") .replace("(","").replace(")","").replace(" ","") |
| | | String subPath = zipFolder.getPath(); |
| | | ZipHelper.unzip(zipFile, subPath); |
| | | |
| | | List<File> files = new ArrayList<>(); |
| | |
| | | MetaFileEntity mf = createMetaFileEntity(meta); |
| | | mf.setDircode(dircode); |
| | | mf.setEventid(StringHelper.getGuid()); |
| | | mf.setName(fileName); |
| | | mf.setName(fileName + "\\" + tab); |
| | | mf.setExtName(extName); |
| | | mf.setSizes(FileHelper.sizeToMb(f.length())); |
| | | mf.setPath(f.getPath().substring(start)); |