Libraryless. Click here for Pure Java version (2098L/13K).
static ZipEntry firstZipEntry(File inZip) ctex { if (inZip == null) null; temp ZipFile zipFile = new ZipFile(inZip); ret firstZipEntry(zipFile); } static ZipEntry firstZipEntry(ZipFile zipFile) ctex { Enumeration entries = zipFile.entries(); ret entries.hasMoreElements() ? (ZipEntry) entries.nextElement() : null; }
Began life as a copy of #1022702
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025252 |
Snippet name: | firstZipEntry |
Eternal ID of this version: | #1025252/1 |
Text MD5: | d5359372419063c619032c2971af0962 |
Transpilation MD5: | cf696353494b4e1cb2d7a4660b976573 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-16 18:04:18 |
Source code size: | 340 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 242 / 333 |
Referenced in: | [show references] |