|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.internal.util.BrowserUtil
public class BrowserUtil
The BrowserUtil
class provides one static method -
openUrlInDefaultBrowser
, which opens the given URL in the default web browser for
the current user of the system. Current implementation supports Windows, Linux and some Unix
systems.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
For testing only. |
static java.lang.Process |
openUrlInDefaultBrowser(java.lang.String url)
Attempts to open the default web browser to the given URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- [url_to_open]public static java.lang.Process openUrlInDefaultBrowser(java.lang.String url) throws java.lang.Exception
url
- The URL to open
java.lang.Exception
- If the available web browser does not run
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |