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(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 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

WebStartMain

public WebStartMain()
Method Detail

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

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

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