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

15
LINES

< > BotCompany Repo | #1003637 // Swing: List Music Files As Table

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

Libraryless. Click here for Pure Java version (1436L/10K/36K).

!752

p {
  new L data;
  L<File> files;
  loading {
    files = findAllFiles("/media/CE009E97009E865D__/stuff");
  }
  for (File f : files) {
    S name = f.getName().toLowerCase();
    if (endsWithOneOf(name, ".mp3", ".ogg", ".wav", ".flac"))
      data.add(litorderedmap("1 Name", name, "2 Location", f.getParentFile().getAbsolutePath()));
  }
  dataToTable(data);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003637
Snippet name: Swing: List Music Files As Table
Eternal ID of this version: #1003637/1
Text MD5: 7d747c990f8ff773e8a048eb29852661
Transpilation MD5: c631372d35aec3b0e5356ac64be29e6a
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-24 21:04:26
Source code size: 383 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 583
Referenced in: [show references]