|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.launcher.Main
org.eclipse.core.launcher.WebStartMain
The launcher ot start eclipse using webstart. To use this launcher, the client must accept to give all security permissions.
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
WebStartMain()
|
Method Summary | |
---|---|
protected void |
basicRun(String[] args)
Executes the launch. |
protected URL[] |
getBootPath(String base)
Returns the URL -based class path describing where the boot classes are located. |
static void |
main(String[] args)
Runs the platform with the given arguments. |
protected String |
searchFor(String target,
String start)
Searches for the given target directory starting in the "plugins" subdirectory of the given location. |
Methods inherited from class org.eclipse.core.launcher.Main |
---|
addEntry, decode, findMax, getArrayFromList, log, main, processCommandLine, run, setSecurityPolicy, takeDownSplash |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebStartMain()
Method Detail |
public static void main(String[] args)
Main
-application com.example.application
).
After running the application System.exit(N)
is executed.
The value of N is derived from the value returned from running the application.
If the application's return value is an Integer
, N is this value.
In all other cases, N = 0.
Clients wishing to run the platform without a following System.exit
call should use run()
.
protected void basicRun(String[] args) throws Exception
Main
basicRun
in class Main
args
- command-line arguments
Exception
- thrown if a problem occurs during the launchprotected URL[] getBootPath(String base) throws IOException
Main
URL
-based class path describing where the boot classes are located.
getBootPath
in class Main
base
- the base location
IOException
protected String searchFor(String target, String start)
Main
searchFor
in class Main
start
- the location to begin searching
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.