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

7
LINES

< > BotCompany Repo | #1032405 // fileContainingIC

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

Libraryless. Click here for Pure Java version (3329L/18K).

static File fileContainingIC(File dir, S searchString) {
  ret fileContainingIC(listDir(dir), searchString);
}

static File fileContainingIC(Iterable<File> files, S searchString) {
  ret first(files, f -> cic(fileName(f), searchString));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032405
Snippet name: fileContainingIC
Eternal ID of this version: #1032405/2
Text MD5: 6dc7a1f585c929973198c1a470fcc88c
Transpilation MD5: c20348c0b83d6b338cf0ad2cc5b7aaa6
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 01:28:59
Source code size: 245 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 71 / 121
Version history: 1 change(s)
Referenced in: [show references]