| | |
| | | for (File f : files) { |
| | | String fileName = FileHelper.getFileName(f.getPath()); |
| | | if (fileName.contains(XLS)) { |
| | | list.add(new TabMapperEntity(fileName, "xls", fileName)); |
| | | list.add(new TabMapperEntity(fileName, "xls", null, fileName)); |
| | | continue; |
| | | } |
| | | if (fileName.contains(MDB)) { |
| | |
| | | List<String> files = new ArrayList<>(); |
| | | getShpFiles(subPath, files); |
| | | |
| | | String root = subPath.substring(0, subPath.lastIndexOf(File.separator) + 1); |
| | | String root = pathHelper.getConfig().getTempPath() + File.separator; |
| | | for (String file : files) { |
| | | String name = FileHelper.getFileName(file); |
| | | String path = file.replace(root, ""); |
| | |
| | | List<String> files = new ArrayList<>(); |
| | | getGdbFiles(subPath, files); |
| | | |
| | | String root = subPath.substring(0, subPath.lastIndexOf(File.separator) + 1); |
| | | String root = pathHelper.getConfig().getTempPath() + File.separator; |
| | | for (String file : files) { |
| | | String path = file.replace(root, ""); |
| | | List<String> tabs = GdbHelper.getTabNames(file); |