Libraryless. Click here for Pure Java version (8440L/59K/211K).
1 | !7 |
2 | |
3 | p { |
4 | print("Please enter directory."); |
5 | bot(); |
6 | } |
7 | |
8 | answer { |
9 | new MultiMap<S> data; |
10 | |
11 | for (File jar : listFilesWithExtension(new File(trim(s)), "jar")) { |
12 | S jarName = jar.getName(); |
13 | for (S name : listZip(jar)) |
14 | data.put(name, jarName); |
15 | } |
16 | |
17 | showTableWithSearcher( |
18 | mapToListOfOrderedMap(multiMapJoinValuesWithComma_treeMap(data), |
19 | "File", "Jar")); |
20 | try answer "OK"; |
21 | } |
Began life as a copy of #1004429
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013812 |
Snippet name: | List all jars in a directory by file [OK] |
Eternal ID of this version: | #1013812/6 |
Text MD5: | a6e72a6a31c77337d5664e858415fe1e |
Transpilation MD5: | 33cc20be9e0e7850a05b374404ae1414 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-02 17:04:14 |
Source code size: | 420 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 421 / 486 |
Version history: | 5 change(s) |
Referenced in: | [show references] |