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

6
LINES

< > BotCompany Repo | #1022699 // tempShowFileSizeProgress

JavaX fragment (include)

static AutoCloseable tempShowFileSizeProgress(IProgressShower p, File f, O... _) {
  if (p == null || f == null) null;
  ret timerAsAutocloseable(doEvery(optPar interval(_, 100), r {
    p.setValue(fileSize(f));
  }));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022699
Snippet name: tempShowFileSizeProgress
Eternal ID of this version: #1022699/2
Text MD5: bce5710919db4fb3ce2c997021763989
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-31 19:53:47
Source code size: 225 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 274
Version history: 1 change(s)
Referenced in: [show references]