Package net.sourceforge.jnlp
Class PluginParameters
java.lang.Object
net.sourceforge.jnlp.PluginParameters
Represents plugin applet parameters, backed by a HashMap.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateParameterTable(Map<String, String> rawParams) Creates the underlying hash table with the proper overrides.(package private) static voidensureJavaPrefixTakesPrecedence(Map<String, String> params, String attribute) Replace an attribute with its 'java_'-prefixed version.getCode()getDefaulted(String key, String defaultStr) intgetUniqueKey(URL codebase) intgetWidth()voidtoString()voidupdateSize(int width, int height) boolean
-
Field Details
-
parameters
-
-
Constructor Details
-
PluginParameters
-
-
Method Details
-
get
-
put
-
getUnmodifiableMap
-
getUnderlyingMap
-
getDefaulted
-
getAppletTitle
-
useCodebaseLookup
public boolean useCodebaseLookup() -
getArchive
-
getJavaArchive
-
getJavaArguments
-
getCacheArchive
-
getCacheArchiveEx
-
getCacheOption
-
getCacheVersion
-
getCode
-
getJNLPHref
-
getJNLPEmbedded
-
getJarFiles
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getPermissions
-
updateSize
public void updateSize(int width, int height) -
getUniqueKey
-
ensureJavaPrefixTakesPrecedence
Replace an attribute with its 'java_'-prefixed version. Note that java_* aliases override older names: http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html#in-nav -
createParameterTable
Creates the underlying hash table with the proper overrides. Ensure all keys are lowercase consistently.- Parameters:
rawParams- the properties, before parameter aliasing rules.- Returns:
- the resulting parameter table
-
toString
-