Transpiled version (2514L) is out of date.
1 | static SS zipFileToStringMap(File zip) ctex {
|
2 | temp ZipFile zipFile = new ZipFile(zip); |
3 | Enumeration entries = zipFile.entries(); |
4 | new TreeMap<S> map; |
5 | while (entries.hasMoreElements()) {
|
6 | ZipEntry entry = cast entries.nextElement(); |
7 | if (entry.isDirectory()) continue; |
8 | map.put(entry.getName(), streamToString_rawBytes(zipFile.getInputStream(entry))); |
9 | } |
10 | ret map; |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028788 |
| Snippet name: | zipFileToStringMap - uses raw bytes encoding |
| Eternal ID of this version: | #1028788/3 |
| Text MD5: | 1a015d70dd6c8b1d0093feb1104776f0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-08 23:43:24 |
| Source code size: | 393 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 570 / 751 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |