|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcs1705.Browser
public class Browser
This class provides a simple interface to your web browser. The primary capability it currently supports is opening a URL in a browser window.
| Method Summary | |
|---|---|
static void |
openFile(File file)
Display a file in the system browser. |
static void |
openFile(String pathname)
Display a file in the system browser. |
static void |
openURL(String url)
Display a URL in the system browser. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void openFile(File file)
file - the file to displaypublic static void openFile(String pathname)
pathname - a relative or absolute path designating the file to
displaypublic static void openURL(String url)
url - the url to display
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||