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

7
LINES

< > BotCompany Repo | #1013803 // listFilesWithExtension

JavaX fragment (include)

static L<File> listFilesWithExtension(File dir, S ext) {
  ret listFilesWithSuffix(dir, addPrefixOptIfNempty(".", ext));
}

static L<File> listFilesWithExtension(S ext, File dir) {
  ret listFilesWithExtension(dir, ext);
}

Author comment

Began life as a copy of #1002088

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1013803
Snippet name: listFilesWithExtension
Eternal ID of this version: #1013803/3
Text MD5: 6c5f19e02eadb4dc8f046b5911aceb43
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 11:46:42
Source code size: 228 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 490
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013925 - filesMatchingRegexpIC - full match
#1015277 - listPNGFiles
#1020637 - findFilesWithExtension - recurse
#1032406 - mp3Files - in directory