MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / openURL

Method openURL

Utils/src/eu/the5zig/util/Utils.java:417–424  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

415 }
416
417 public static void openURL(String path) {
418 try {
419 Desktop.getDesktop().browse(new URI(path));
420 } catch (Throwable e) {
421 System.err.println("Couldn't open url: " + path);
422 e.printStackTrace();
423 }
424 }
425
426 public static void openURL(URI uri) {
427 try {

Callers 7

openURLIfFoundMethod · 0.95
mouseClickedMethod · 0.95
aMethod · 0.95
chatLineClickedMethod · 0.95
chatLineClickedMethod · 0.95
chatLineClickedMethod · 0.95
mousePressedMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected