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

9
LINES

< > BotCompany Repo | #1002583 // javaxDataDir

JavaX fragment (include)

static File javaxDataDir_dir; // can be set to work on different base dir

static File javaxDataDir() {
  ret javaxDataDir_dir != null ? javaxDataDir_dir : new File(userHome(), "JavaX-Data");
}

static File javaxDataDir(S... subs) {
  ret newFile(javaxDataDir(), subs);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002583
Snippet name: javaxDataDir
Eternal ID of this version: #1002583/3
Text MD5: d731214f9d8904e37bc978a3967abe3a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-02 00:20:25
Source code size: 279 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 805 / 2159
Version history: 2 change(s)
Referenced in: #1003789 - javaxSecretDir
#1005447 - javaxCodeDir
#1006535 - javaxCachesDir
#1006538 - javaxBackupDir
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015655 - fileInJavaxDataDir
#1022676 - javaxVirtualDir - {actualUserHome}/JavaX-Virtual
#1022685 - javaxArtifactsDir
#3000382 - Answer for ferdie (>> t = 1, f = 0)