Package org.verapdf.apps
Class Applications
java.lang.Object
org.verapdf.apps.Applications
- Version:
- 0.1 Created 31 Oct 2016:13:15:23
- Author:
- Carl Wilson carlwilson AT github
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckArgNotNull(Object arg, String argName) static ConfigManagerShortcut method to find configuration in the local user directory or, if it doesn't exist, to create configuration in the application installation configuration directory, if installation configuration directory is not writable method shall create configuration in the local user directory.static AppConfigBuilderstatic ConfigManagercreateConfigManager(File root) static ConfigManagerShortcut method to create a configuration in the temp directory.static VeraAppConfigstatic AppConfigBuilderstatic ReleaseDetailsstatic Filestatic SoftwareUpdater
-
Field Details
-
APP_HOME_PROPERTY
- See Also:
-
DEFAULT_CONFIG_ROOT_NAME
- See Also:
-
UPDATE_SERVICE_NOT_AVAILABLE
- See Also:
-
UPDATE_LATEST_VERSION
- See Also:
-
UPDATE_OLD_VERSION
- See Also:
-
UPDATE_URI
- See Also:
-
-
Method Details
-
getVeraScriptFile
-
getAppDetails
- Returns:
- the Application Release details for the GUI
-
createConfigManager
- Parameters:
root- the root directory for the configuration, should contain the veraPDF configuration files, if not default ones are created.- Returns:
- a
ConfigManagerinstance populated using the configuration files at root.
-
createAppConfigManager
Shortcut method to find configuration in the local user directory or, if it doesn't exist, to create configuration in the application installation configuration directory, if installation configuration directory is not writable method shall create configuration in the local user directory.- Returns:
- a
ConfigManagerinstance populated using the configuration files in the application config directory.
-
createTmpConfigManager
Shortcut method to create a configuration in the temp directory.- Returns:
- a
ConfigManagerinstance populated using the configuration files in the temp directory.
-
defaultConfig
-
defaultConfigBuilder
-
createConfigBuilder
-
softwareUpdater
-
checkArgNotNull
-