public class PropertyDesc
extends java.lang.Object
Constructor and Description |
---|
PropertyDesc(java.lang.String key,
java.lang.String value)
Creates a property descriptor.
|
Modifier and Type | Method and Description |
---|---|
static PropertyDesc |
fromString(java.lang.String prop) |
java.lang.String |
getKey() |
java.lang.String |
getValue() |
public PropertyDesc(java.lang.String key, java.lang.String value)
key
- the key namevalue
- the valuepublic static PropertyDesc fromString(java.lang.String prop) throws LaunchException
prop
- - the property to be parsed from format key=valueLaunchException
- if creations failspublic java.lang.String getKey()
public java.lang.String getValue()