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

9
LINES

< > BotCompany Repo | #1023838 // storedWebPages_urlsStartingWith

JavaX fragment (include)

static LS storedWebPages_urlsStartingWith(S baseURL) {
  new LS urls;
  for ping (File f : listFilesWithExtension(storedWebPagesDir(), ".url")) {
    S url = trimLoadTextFile(f);
    if (startsWith(url, baseURL))
      urls.add(url);
  }
  ret urls;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023838
Snippet name: storedWebPages_urlsStartingWith
Eternal ID of this version: #1023838/1
Text MD5: f588cc871ca2cd5492e5a8029360b290
Author: stefan
Category: javax / stored web pages
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-10 13:13:03
Source code size: 259 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 202 / 224
Referenced in: [show references]