Libraryless. Click here for Pure Java version (2792L/17K).
static Map<S, Long> listZipAsNameToSizeMap(File inZip) ctex { if (inZip == null) null; temp ZipFile zipFile = new ZipFile(inZip); ret listZipAsNameToSizeMap(zipFile); } static Map<S, Long> listZipAsNameToSizeMap(ZipFile zipFile) { ret mapToMap(listZipEntries(zipFile), e -> pair(e.getName(), e.getSize())); }
Began life as a copy of #1022702
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030578 |
Snippet name: | listZipAsNameToSizeMap |
Eternal ID of this version: | #1030578/1 |
Text MD5: | e0e75f9a6395c0ee1f5177ccc23f4ea8 |
Transpilation MD5: | 3ded4932fa2387b17cdb7f7e82502fa5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-01-13 09:02:37 |
Source code size: | 329 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 303 |
Referenced in: | [show references] |