Prefixes `file://` to the file's absolute path.
(File file)
| 425 | |
| 426 | /** Prefixes `file://` to the file's absolute path. */ |
| 427 | public static String asUrl(File file) { |
| 428 | return PROTOCOL + file.getAbsolutePath(); |
| 429 | } |
| 430 | |
| 431 | /** Returns ".app" on macOS, and empty string on all others. */ |
| 432 | public static String macApp() { |
no outgoing calls