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

10
LINES

< > BotCompany Repo | #1001460 // List all programs with files

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1256L/9K/29K).

!752

p {
  new L l;
  int n;
  for (File dir : listDirs(javaxDataDir()))
    if (dir.getName().startsWith("#") && (n = listFiles(dir).length) != 0)
      l.add(litorderedmap("Program ID", dir.getName(), "Files", n));
  dataToTable(l, "All programs with files");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001460
Snippet name: List all programs with files
Eternal ID of this version: #1001460/1
Text MD5: 091e8c9c4bf5e8cc72837b7c422e2412
Transpilation MD5: 6dd1a83a3a28a1b28e395bac6dd22a2a
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-25 20:57:45
Source code size: 273 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 625 / 635
Referenced in: [show references]