1 | static File getProgramFile(S progID, S fileName) { |
2 | if (new File(fileName).isAbsolute()) |
3 | ret new File(fileName); |
4 | ret new File(getProgramDir(progID), fileName); |
5 | } |
6 | |
7 | static File getProgramFile(S fileName) { |
8 | ret getProgramFile(getProgramID(), fileName); |
9 | } |
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: | 935 / 2851 |
Referenced in: | [show references] |