Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1031475 // zipContainsFile

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2746L/16K).

sbool zipContainsFile(File inZip, S fileName) ctex {
  temp ZipFile zip = new(inZip);
  ret zip.getEntry(fileName) != null;
}

Author comment

Began life as a copy of #1012232

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031475
Snippet name: zipContainsFile
Eternal ID of this version: #1031475/1
Text MD5: 2f607110f498716e2c36345316d02a46
Transpilation MD5: c14019b28448857a9ff5bc9367fd3ece
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-14 05:50:11
Source code size: 128 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 99 / 153
Referenced in: [show references]