java.lang.Object
de.grogra.pf.boot.Main
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String[]
List of URL's of the GroIMP version file.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Integer
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static int
compares two strings containing version numbers and returns the result. 0 .. v1 equals v2 <0 .. v2 newer then v1 >0 .. v2 older then v1static void
static void
static void
exit()
findPluginXML
(File dir) static Application
static String
getArg
(int index) static int
static File
static Object
getFromResource
(String key) static I18NBundle
static I18NBundle
getI18NBundle
(String pluginId) static Main
static ClassLoader
static Logger
static String
getProperty
(String name) static String
getProperty
(String name, String defaultValue) static PreferencesFile
static Registry
static String
static String
static boolean
static void
static void
logWarning
(Throwable thrown) static void
void
setProperty
(String name, String value) static void
showMessage
(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:
-
HTTP_PROXY_DOMAIN
- See Also:
-
HTTP_PROXY_USER
- See Also:
-
HTTP_PROXY_PASS
- 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 <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
-
showMessage
-
getSystemPluginPath
-