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

6
LINES

< > BotCompany Repo | #1026253 // openTempPageInBrowser

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

Libraryless. Click here for Pure Java version (2579L/17K).

static File openTempPageInBrowser(S html) {
  File file = addDateWithMillisecondsToFileName(programCacheFile("temp.html"));
  saveTextFile(file, html);
  openFileInBrowser(file);
  ret file;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026253
Snippet name: openTempPageInBrowser
Eternal ID of this version: #1026253/3
Text MD5: d650dde589c185b69897342a3871beb0
Transpilation MD5: 558387c32cca8c63491867d9eff92abe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-09 13:23:02
Source code size: 197 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 294
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)