org.eclipse.core.launcher
Class WebStartMain
java.lang.Object
org.eclipse.core.launcher.Main
org.eclipse.core.launcher.WebStartMain
public class WebStartMain
- extends Main
The launcher ot start eclipse using webstart.
To use this launcher, the client must accept to give all security permissions.
Fields inherited from class org.eclipse.core.launcher.Main |
bootLocation, configurationLocation, debug, devClassPath, ENTRY, ERROR, framework, inDevelopmentMode, installLocation, JAR_SCHEME, log, logFile, MESSAGE, newSession, parentConfigurationLocation, PLUGIN_ID, PROP_FRAMEWORK, REFERENCE_SCHEME, SESSION, STACK |
Method Summary |
protected void |
basicRun(java.lang.String[] args)
Executes the launch. |
protected java.net.URL[] |
getBootPath(java.lang.String base)
Returns the URL -based class path describing where the boot classes are located. |
static void |
main(java.lang.String[] args)
|
protected java.lang.String |
searchFor(java.lang.String target,
java.lang.String start)
Searches for the given target directory starting in the "plugins" subdirectory
of the given location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebStartMain
public WebStartMain()
main
public static void main(java.lang.String[] args)
basicRun
protected void basicRun(java.lang.String[] args)
throws java.lang.Exception
- Description copied from class:
Main
- Executes the launch.
- Overrides:
basicRun
in class Main
- Parameters:
args
- command-line arguments
- Throws:
java.lang.Exception
- thrown if a problem occurs during the launch
getBootPath
protected java.net.URL[] getBootPath(java.lang.String base)
throws java.io.IOException
- Description copied from class:
Main
- Returns the
URL
-based class path describing where the boot classes are located.
- Overrides:
getBootPath
in class Main
- Parameters:
base
- the base location
- Returns:
- the url-based class path
- Throws:
java.net.MalformedURLException
- if a problem occurs computing the class path
java.io.IOException
searchFor
protected java.lang.String searchFor(java.lang.String target,
java.lang.String start)
- Description copied from class:
Main
- Searches for the given target directory starting in the "plugins" subdirectory
of the given location. If one is found then this location is returned;
otherwise an exception is thrown.
- Overrides:
searchFor
in class Main
start
- the location to begin searching
- Returns:
- the location where target directory was found
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.