(String path)
| 101 | } |
| 102 | |
| 103 | private String formatPath(String path) { |
| 104 | String formattedPath = path; |
| 105 | if (path.endsWith("\"")) { |
| 106 | formattedPath = formattedPath.substring(0, formattedPath.length() - 1); |
| 107 | } |
| 108 | |
| 109 | return formattedPath; |
| 110 | } |
| 111 | |
| 112 | private void checkPath(String path) { |
| 113 | if (new File(path).isDirectory() && path.contains(" ")) { |