|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.sys.WebStart
public class WebStart
Web Start Manager.
This static class manages the interface to the Web Start / JNLP API, and provides some similar services when the JNLP environment is not available.
Method Summary | |
---|---|
static java.lang.Object |
getMuffin(java.lang.String key)
Gets a muffin. |
static void |
putMuffin(java.lang.String key,
java.lang.Object obj)
Puts a muffin. |
static void |
setCodebase(java.lang.String codebase)
Sets the codebase. |
static void |
showDocument(java.lang.String urlStr)
Directs a browser to show a URL. |
static void |
showDocument(java.net.URL url)
Directs a browser to show a URL. |
static void |
showRelativeDocument(java.lang.String relUrlStr)
Directs a browser to show a page relative to the codebase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setCodebase(java.lang.String codebase)
If we are running in a JNLP environment this method does nothing - in that case the codebase is obtained from the JNLP basic services.
codebase
- The codebase. public static java.lang.Object getMuffin(java.lang.String key)
key
- Muffin key.
public static void putMuffin(java.lang.String key, java.lang.Object obj)
Does nothing if we are not running in a JNLP environment.
key
- Muffin key.obj
- Muffin value. public static void showDocument(java.net.URL url)
If we are not running in a JNLP environment, we use alternate techniques on Mac OS X and on Windows.
url
- The URL. public static void showDocument(java.lang.String urlStr)
If we are not running in a JNLP environment, we use alternate techniques on Mac OS X and on Windows.
urlStr
- The URL string. public static void showRelativeDocument(java.lang.String relUrlStr)
If we are not running in a JNLP environment, we use alternate techniques on Mac OS X and on Windows.
relUrlStr
- Relative URL string (relative to the codebase).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |