Libraryless. Click here for Pure Java version (2792L/17K).
1 | static Map<S, Long> listZipAsNameToSizeMap(File inZip) ctex {
|
2 | if (inZip == null) null; |
3 | temp ZipFile zipFile = new ZipFile(inZip); |
4 | ret listZipAsNameToSizeMap(zipFile); |
5 | } |
6 | |
7 | static Map<S, Long> listZipAsNameToSizeMap(ZipFile zipFile) {
|
8 | ret mapToMap(listZipEntries(zipFile), e -> pair(e.getName(), e.getSize())); |
9 | } |
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: | 475 / 586 |
| Referenced in: | [show references] |