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

11
LINES

< > BotCompany Repo | #1030626 // findFilesWithAnyExtension - recurse

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

Libraryless. Click here for Pure Java version (2932L/17K).

static L<File> findFilesWithAnyExtension(File dir, Cl<S> extensions) {
  ret filesWithAnyExtension(extensions, allFilesInDir_recursive_noDirs(dir));
}

static L<File> findFilesWithAnyExtension(File dir, S... extensions) {
  ret findFilesWithAnyExtension(dir, asVirtualList(extensions));
}

static L<File> findFilesWithAnyExtension(Cl<S> extensions, File dir) {
  ret findFilesWithAnyExtension(dir, extensions);
}

Author comment

Began life as a copy of #1020637

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030626
Snippet name: findFilesWithAnyExtension - recurse
Eternal ID of this version: #1030626/3
Text MD5: 73513ceca32aacf7561d9d1068d3662f
Transpilation MD5: 41826a04ee00897f82bd9c3fbd45ca46
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-04 09:37:07
Source code size: 422 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 292
Version history: 2 change(s)
Referenced in: [show references]