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

8
LINES

< > BotCompany Repo | #1021926 // simpleWikipedia_allCachedTopics

JavaX fragment (include)

static LS simpleWikipedia_allCachedTopics() {
  new LS topics;
  for (File f : listFilesWithExtension(simpleWikipedia_cacheDir(), ".infos")) {
    File f2 = fileInSameDir(f, dropSuffixIC(".infos", f.getName()));
    addIfNotNull(topics, getFileInfoField(f2, "Topic"));
  }
  ret topics;
}

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: 265 / 298
Version history: 3 change(s)
Referenced in: [show references]