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

8
LINES

< > BotCompany Repo | #1021926 // simpleWikipedia_allCachedTopics

JavaX fragment (include)

1  
static LS simpleWikipedia_allCachedTopics() {
2  
  new LS topics;
3  
  for (File f : listFilesWithExtension(simpleWikipedia_cacheDir(), ".infos")) {
4  
    File f2 = fileInSameDir(f, dropSuffixIC(".infos", f.getName()));
5  
    addIfNotNull(topics, getFileInfoField(f2, "Topic"));
6  
  }
7  
  ret topics;
8  
}

Author comment

Began life as a copy of #1021366

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021926
Snippet name: simpleWikipedia_allCachedTopics
Eternal ID of this version: #1021926/4
Text MD5: 2e0978fb1a318b68172243c2d6a33b71
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-03 19:01:11
Source code size: 295 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 267 / 301
Version history: 3 change(s)
Referenced in: [show references]