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

9
LINES

< > BotCompany Repo | #1018658 // fileInSubDir

JavaX fragment (include)

static File fileInSubDir(File f, S subDir) {
  if (f == null) null;
  File dir = dirOfFile(f);
  ret newFile(dir, subDir, f.getName());
}

static File fileInSubDir(S subDir, File f) {
  ret fileInSubDir(f, subDir);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018658
Snippet name: fileInSubDir
Eternal ID of this version: #1018658/2
Text MD5: ee2831b67195f77e9f66d3443b486589
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-11 18:43:28
Source code size: 220 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 305
Version history: 1 change(s)
Referenced in: [show references]