java.lang.Object
de.grogra.pf.boot.Main
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final String[]List of URL's of the GroIMP version file.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Integerstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic intcompares two strings containing version numbers and returns the result. 0 .. v1 equals v2 invalid input: '<'0 .. v2 newer then v1 >0 .. v2 older then v1static intcomparePluginDirectory(Object dir1, Object dir2) Return the higher value for directory with more priority in the following order: the user parameter plugin > the groimp installation folder > the pm plugin repo.static voidstatic voidstatic voidexit()findPluginXML(FileSystem memfs) Returns a list of systemIdfindPluginXML(File dir) static Applicationstatic StringgetArg(int index) static intstatic Filestatic ObjectgetFromResource(String key) static I18NBundlestatic I18NBundlegetI18NBundle(String pluginId) static Mainstatic ClassLoaderstatic Loggerstatic StringgetProperty(String name) static StringgetProperty(String name, String defaultValue) static PreferencesFilestatic Registrystatic Stringstatic Stringstatic booleanstatic voidstatic voidlogWarning(Throwable thrown) static voidvoidsetProperty(String name, String value) static voidshowMessage(String msg, boolean exitOnClose) static boolean
-
Field Details
-
BOOT_PATH
- See Also:
-
EXT_PATH
- See Also:
-
SYSTEM_PLUGIN_PATH
- See Also:
-
CMD_USER_PLUGIN_PATH
- See Also:
-
PLUGIN_PATH
- See Also:
-
PLUGIN_ROOT_PATH
- See Also:
-
HEADLESS
- See Also:
-
SCREEN_PROPERTY_ID
-
SCREEN_PROPERTY
- See Also:
-
PLUGIN_MANAGER_CACHE_TIMEOUT
- See Also:
-
PROXY_USER
- See Also:
-
PROXY_PASSWORD
- See Also:
-
PROXY_DOMAIN
- See Also:
-
HTTP_PROXY_HOST
- See Also:
-
HTTP_PROXY_PORT
- See Also:
-
HTTPS_PROXY_HOST
- See Also:
-
HTTPS_PROXY_PORT
- See Also:
-
GROIMP_VERSION_FILE
List of URL's of the GroIMP version file.
-
-
Method Details
-
getInstance
-
main
-
exit
public static void exit() -
getLogger
-
logWarning
-
logSevere
-
setProperty
-
getProperty
-
getProperty
-
getPropertyFile
-
getArgCount
public static int getArgCount() -
getArg
-
getVersion
-
usesProjectTree
public static boolean usesProjectTree() -
getRegistry
-
isInitialized
public static boolean isInitialized() -
getI18NBundle
-
getI18NBundle
-
getFromResource
-
getApplication
-
getLoaderForAll
-
getConfigurationDirectory
-
closeSplashScreen
public static void closeSplashScreen() -
error
-
error
-
compare
compares two strings containing version numbers and returns the result. 0 .. v1 equals v2 invalid input: '<'0 .. v2 newer then v1 >0 .. v2 older then v1- Parameters:
v1- this version number (version of the installed application)v2- version to check (probably new version)- Returns:
-
findPluginXML
- Throws:
IOException
-
findPluginXML
Returns a list of systemId- Throws:
IOException
-
showMessage
-
getSystemPluginPath
-
comparePluginDirectory
Return the higher value for directory with more priority in the following order: the user parameter plugin > the groimp installation folder > the pm plugin repo.
-