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

7
LINES

< > BotCompany Repo | #1022922 // onClipboardFile

JavaX fragment (include)

1  
static AutoCloseable onClipboardFile(final VF1<File> f) {
2  
  ret vmBus_onMessage('newClipboardContents, voidfunc(fO o) {
3  
    File file = fileFromClipboard();
4  
    if (file != null)
5  
      callF(f, file);
6  
  });
7  
}

Author comment

Began life as a copy of #1019181

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: #1022922
Snippet name: onClipboardFile
Eternal ID of this version: #1022922/1
Text MD5: 1787f1643f8d578d28521c332dd41ffd
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-14 22:11:14
Source code size: 214 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 286
Referenced in: [show references]