static bool zipFileContains(File inZip, S fileName) ctex { ZipFile zip = new ZipFile(inZip); try { ret zipFileContains(zip, fileName); } finally { zip.close(); } } static bool zipFileContains(ZipFile zip, S fileName) ctex { ret zip.getEntry(fileName) != null; }
Began life as a copy of #1012228
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016740 |
| Snippet name: | zipFileContains |
| Eternal ID of this version: | #1016740/1 |
| Text MD5: | 9afed93d04ca99d4900d4084d282bff4 |
| Author: | stefan |
| Category: | javax / i.o. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-30 17:10:51 |
| Source code size: | 295 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 769 / 781 |
| Referenced in: | [show references] |