|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.update.configurator.ConfiguratorUtils
public class ConfiguratorUtils
Helper class to get platform configuration data without having to use BootLoader methods from the compatibility layer.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
ConfiguratorUtils()
|
Method Summary | |
---|---|
static IPlatformConfiguration |
getCurrentPlatformConfiguration()
Returns the current platform configuration. |
static java.net.URL |
getInstallURL()
|
static IPlatformConfiguration |
getPlatformConfiguration(java.net.URL url)
Returns a platform configuration object, optionally initialized with previously saved configuration information. |
static IPlatformConfiguration |
getPlatformConfiguration(java.net.URL url,
java.net.URL loc)
Returns a platform configuration object, optionally initialized with previously saved configuration information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfiguratorUtils()
Method Detail |
---|
public static IPlatformConfiguration getCurrentPlatformConfiguration()
public static IPlatformConfiguration getPlatformConfiguration(java.net.URL url) throws java.io.IOException
url
- location of previously save configuration information. If null
is specified, an empty configuration object is returned
java.io.IOException
public static IPlatformConfiguration getPlatformConfiguration(java.net.URL url, java.net.URL loc) throws java.io.IOException
url
- location of previously save configuration information. If null
is specified, an empty configuration object is returnedloc
- location of the platform installation. Used to resolve entries in the save location
java.io.IOException
public static java.net.URL getInstallURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |