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

5
LINES

< > BotCompany Repo | #1028272 - savePageToFileWithBaseTag

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4069L/27K).

static File savePageToFileWithBaseTag(S url, File file) {
  S html = loadPage(url);
  html = hAddToHead(html, hbase(url));
  ret saveTextFile(file, html);
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1028272
Snippet name: savePageToFileWithBaseTag
Eternal ID of this version: #1028272/2
Text MD5: 5cc903d4e2c02cef19b8988b41c0394f
Transpilation MD5: d0b8bd9965080fa4047d74cabef4caad
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-05 16:33:34
Source code size: 160 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 34 / 72
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028272 & http://1028272.tinybrain.de