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

11
LINES

< > BotCompany Repo | #1003945 // mail_listFolders

JavaX fragment (include)

1  
static void mail_listFolders(Folder folder) {
2  
  mail_listFolders(folder, "  ");
3  
}
4  
5  
static void mail_listFolders(Folder folder, S prefix) ctex {
6  
  Folder[] folderList = folder.list();
7  
  for (int i = 0; i < folderList.length; i++) {
8  
    print(prefix + folderList[i].getFullName());
9  
    mail_listFolders(folderList[i], prefix + "  ");
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003945
Snippet name: mail_listFolders
Eternal ID of this version: #1003945/1
Text MD5: 58450c7867b75b3049188d1ec341b3a4
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-31 16:42:54
Source code size: 347 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 562 / 559
Referenced in: [show references]