|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.util.WindowsLauncher
Wrapper for calls to native Windows code that launches files in their associated applications.
Constructor Summary | |
WindowsLauncher()
|
Method Summary | |
int |
launchFile(java.lang.String file)
Launches the file with it's associated application on Windows. |
int |
openURL(java.lang.String url)
Opens the specified url in the default web browser on the user's system. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WindowsLauncher()
Method Detail |
public int launchFile(java.lang.String file)
file
- the path of the file to launch
NullPointerException
- if the file argument
is nullpublic int openURL(java.lang.String url)
url
- the url to open
NullPointerException
- if the url argument
is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |