Transpiled version (4521L) is out of date.
static File urlToFile(S url) ctex { ret urlToFile(new URL(url)); } static File urlToFile(URL url) ctex { ret url == null ?: new File(url.toURI()); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033451 |
Snippet name: | urlToFile [seems to work] |
Eternal ID of this version: | #1033451/4 |
Text MD5: | 48bd1e3f43846074c0c49f59719a42a0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-28 15:12:11 |
Source code size: | 159 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 3737 / 3818 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035066 - urlToFileOpt - convert file URL to File if possible (otherwise return null) |