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

6
LINES

< > BotCompany Repo | #1026520 // optExtractFileFromZipToDir_tryMultipleNames (opt = if not there yet)

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

Libraryless. Click here for Pure Java version (2278L/14K).

static File optExtractFileFromZipToDir_tryMultipleNames(File zip, File dir, S... names) {
  fOr (S name : names)
    if (zipFileContains(zip, name))
      ret optExtractFileFromZipToDir(zip, dir, name);
  null;
}

Author comment

Began life as a copy of #1022669

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026520
Snippet name: optExtractFileFromZipToDir_tryMultipleNames (opt = if not there yet)
Eternal ID of this version: #1026520/1
Text MD5: bf50f989138386770f0512da7b0e7076
Transpilation MD5: 1d949ab97d24340f9c9358362af0ede1
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-09 22:41:18
Source code size: 219 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 197
Referenced in: [show references]