Package net.sourceforge.jnlp
Class PropertyDesc
java.lang.Object
net.sourceforge.jnlp.PropertyDesc
The property element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyDesc
fromString
(String prop) getKey()
getValue()
-
Constructor Details
-
PropertyDesc
Creates a property descriptor.- Parameters:
key
- the key namevalue
- the value
-
-
Method Details
-
fromString
- Parameters:
prop
- - the property to be parsed from format key=value- Returns:
- new PropertyDesc based on parsed key=value, though composed from key and value
- Throws:
LaunchException
- if creations fails
-
getKey
- Returns:
- the property's key
-
getValue
- Returns:
- the property's value
-