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

8
LINES

< > BotCompany Repo | #1015145 // moveAllFilesWithExtension

JavaX fragment (include)

1  
static L<Pair<File>> moveAllFilesWithExtension(S ext, File from, File to) {
2  
  new L<Pair<File>> l;
3  
  for (File f : listFilesWithExtension(ext, from)) {
4  
    moveFileToDirVerbose(f, to);
5  
    l.add(pair(from, to));
6  
  }
7  
  ret l;
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015145
Snippet name: moveAllFilesWithExtension
Eternal ID of this version: #1015145/3
Text MD5: 696032f3f8f0c5d4639243ee1e9a040f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 11:51:00
Source code size: 233 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 334 / 360
Version history: 2 change(s)
Referenced in: [show references]