Libraryless. Click here for Pure Java version (2579L/17K).
1 | static File openTempPageInBrowser(S html) { |
2 | File file = addDateWithMillisecondsToFileName(programCacheFile("temp.html")); |
3 | saveTextFile(file, html); |
4 | openFileInBrowser(file); |
5 | ret file; |
6 | } |
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: | 187 / 295 |
Version history: | 2 change(s) |
Referenced in: | [show references] |