|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.psika.utils.BrowserLauncher
public class BrowserLauncher
Launching browser made as simple as possible Inspired by "Bare Bones Browser Launch" publicated on http://www.java2s.com/Code/Java/Development-Class/LaunchBrowserinMacLinuxUnix.htm and provided as public domain software Date: December 10, 2005 Version: 1.5
Constructor Summary | |
---|---|
BrowserLauncher()
|
Method Summary | |
---|---|
static boolean |
launchURL(java.lang.String url)
Platform dependent behaviour Unix systems (Linux, SunOS and others): Try to find relevant browsers with standard 'which' utility and launch it Browser preference: Firefox, Seamonkey's 'iceweasel', Konqueror, Mozilla, Netscape, Opera, Epiphany, Galeon Windows: Use rundll32 service library to load default client's browser Mac OS: Use reflection to load com.apple.eio.FileManager platform-dependent class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BrowserLauncher()
Method Detail |
---|
public static final boolean launchURL(java.lang.String url)
url
- requested internet address
false
on any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |