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

7
LINES

< > BotCompany Repo | #1005308 // absoluteFile - File.getAbsoluteFile()

JavaX fragment (include)

static File absoluteFile(S path) {
  ret path == null ? null : new File(path).getAbsoluteFile();
}

static File absoluteFile(File f) {
  ret f == null ? null : f.getAbsoluteFile();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005308
Snippet name: absoluteFile - File.getAbsoluteFile()
Eternal ID of this version: #1005308/2
Text MD5: 24fbd9f0d7e1c93447937b0d7dc5e59e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-14 19:48:48
Source code size: 188 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 558 / 590
Version history: 1 change(s)
Referenced in: #1005309 - canonicalPath - File.getCanonicalPath()
#1006654 - Standard functions list 2 (LIVE, continuation of #761)