diff options
author | Omair Majid <[email protected]> | 2010-10-25 17:16:13 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2010-10-25 17:16:13 -0400 |
commit | 72326a2118acab1abbeb62646bb37ac556ae1404 (patch) | |
tree | 916f14bf9d64de0cc1b4520af8362137863ea258 /netx/net/sourceforge/jnlp/resources | |
parent | b90561954383ec01d0472b44b34ca6c5de344018 (diff) |
add support for parsing and accessing deployment properties
2010-10-25 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/ShortcutDesc.java:
Add SHORTCUT_NEVER, SHORTCUT_ALWAYS, SHORTCUT_ASK_USER,
SHORTCUT_ASK_USER_IF_HINTED, SHORTCUT_ALWAYS_IF_HINTED,
SHORTCUT_DEFAULT.
* netx/net/sourceforge/jnlp/resources/Messages.properties:
Add RConfigurationError.
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
New file.
(ConfigValue): New class. Holds a configuration value.
(DeploymentConfiguration): New method.
(load): New method.
(getProperty): Likewise.
(getAllPropertyNames): Likewise.
(setProperty): Likewise.
(loadDefaultProperties): Likewise.
(findSystemConfigFile): Likewise.
(loadSystemConfiguration): Likewise.
(loadProperties): Likewise.
(save): Likewise.
(parsePropertiesFile): Likewise.
(mergeMaps): Likewise.
(dumpConfiguration): Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
(initialize): Load configuration.
(getConfiguration): Return the configuration.
Diffstat (limited to 'netx/net/sourceforge/jnlp/resources')
-rw-r--r-- | netx/net/sourceforge/jnlp/resources/Messages.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx/net/sourceforge/jnlp/resources/Messages.properties index a962916..4312ea6 100644 --- a/netx/net/sourceforge/jnlp/resources/Messages.properties +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties @@ -119,6 +119,7 @@ RExitNoApp=Can not exit the JVM because the current application cannot be determ RNoLockDir=Unable to create locks directory ({0})
RNestedJarExtration=Unable to extract nested jar.
RUnexpected=Unexpected {0} at {1}
+RConfigurationError=Fatal error while reading the configuration
# Boot options, message should be shorter than this ---------------->
BOUsage=javaws [-run-options] <jnlp file>
|