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

9
LINES

< > BotCompany Repo | #1001949 // getProgramFile

JavaX fragment (include)

static File getProgramFile(S progID, S fileName) {
  if (new File(fileName).isAbsolute())
    ret new File(fileName);
  ret new File(getProgramDir(progID), fileName);
}

static File getProgramFile(S fileName) {
  ret getProgramFile(getProgramID(), fileName);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001949
Snippet name: getProgramFile
Eternal ID of this version: #1001949/1
Text MD5: f7a2a50c17feb40c300bfb8aa2cad85a
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-16 18:09:45
Source code size: 270 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 933 / 2848
Referenced in: [show references]