List who's inside a windows64, macosx, linux32, etc folder.
(File libraryFolder, String folderName, String[] baseList)
| 265 | * List who's inside a windows64, macosx, linux32, etc folder. |
| 266 | */ |
| 267 | static String[] listPlatformEntries(File libraryFolder, String folderName, String[] baseList) { |
| 268 | File folder = new File(libraryFolder, folderName); |
| 269 | if (folder.exists()) { |
| 270 | String[] entries = folder.list(standardFilter); |
| 271 | if (entries != null) { |
| 272 | String[] outgoing = new String[entries.length + baseList.length]; |
| 273 | for (int i = 0; i < entries.length; i++) { |
| 274 | outgoing[i] = folderName + "/" + entries[i]; |
| 275 | } |
| 276 | // Copy the base libraries in there as well |
| 277 | System.arraycopy(baseList, 0, outgoing, entries.length, baseList.length); |
| 278 | return outgoing; |
| 279 | } |
| 280 | } |
| 281 | return null; |
| 282 | } |
| 283 | |
| 284 | |
| 285 | static protected HashMap<String, Object> packageWarningMap = new HashMap<>(); |