|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.tools.OpenBrowser
public class OpenBrowser
Helper to open platform web browser on different platforms This now delegates the real work to a platform specific class.
Constructor Summary | |
---|---|
OpenBrowser()
|
Method Summary | |
---|---|
static java.lang.String |
displayUrl(java.lang.String url)
|
static java.lang.String |
displayUrl(java.net.URI uri)
|
private static void |
displayUrlFallback(java.net.URI uri)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenBrowser()
Method Detail |
---|
private static void displayUrlFallback(java.net.URI uri) throws java.io.IOException
java.io.IOException
public static java.lang.String displayUrl(java.net.URI uri)
null
for success or a string in case of an error.
java.lang.IllegalStateException
- thrown if no platform is set to which opening the URL can be dispatched,
Main.platform
public static java.lang.String displayUrl(java.lang.String url)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |