Eclipse Platform
Release 3.2

org.eclipse.core.launcher
Class WebStartMain

java.lang.Object
  extended by org.eclipse.core.launcher.Main
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.core.launcher.Main
Main.EndSplashHandler
 
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)
           
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, checkVersion, 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

WebStartMain

public WebStartMain()
Method Detail

main

public static void main(String[] args)

basicRun

protected void basicRun(String[] args)
                 throws Exception
Description copied from class: Main
Executes the launch.

Overrides:
basicRun in class Main
Parameters:
args - command-line arguments
Throws:
Exception - thrown if a problem occurs during the launch

getBootPath

protected URL[] getBootPath(String base)
                     throws 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:
MalformedURLException - if a problem occurs computing the class path
IOException

searchFor

protected String searchFor(String target,
                           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

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.