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

9
LINES

< > BotCompany Repo | #1025682 // javaxDownloadsDir - for downloaded files

JavaX fragment (include)

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

static File javaxDownloadsDir() {
  ret javaxDownloadsDir_dir != null ? javaxDownloadsDir_dir : new File(userHome(), "JavaX-Downloads");
}

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

Author comment

Began life as a copy of #1022685

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025682
Snippet name: javaxDownloadsDir - for downloaded files
Eternal ID of this version: #1025682/1
Text MD5: 0734ddafea7513a541c16fb64298d339
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 19:22:36
Source code size: 314 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 138 / 162
Referenced in: [show references]