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).

1  
!752
2  
3  
p {
4  
  new L data;
5  
  L<File> files;
6  
  loading {
7  
    files = findAllFiles("/media/CE009E97009E865D__/stuff");
8  
  }
9  
  for (File f : files) {
10  
    S name = f.getName().toLowerCase();
11  
    if (endsWithOneOf(name, ".mp3", ".ogg", ".wav", ".flac"))
12  
      data.add(litorderedmap("1 Name", name, "2 Location", f.getParentFile().getAbsolutePath()));
13  
  }
14  
  dataToTable(data);
15  
}

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: 524 / 592
Referenced in: [show references]