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 errorMEssage) |
java.lang.String |
getKey()
Returns the property's key
|
java.lang.String |
getValue()
Returns the property's value
|
public PropertyDesc(java.lang.String key,
java.lang.String value)
key - the key namevalue - the valuepublic static PropertyDesc fromString(java.lang.String prop, java.lang.String errorMEssage) throws LaunchException
prop - - the property to be parsed from format key=valueerrorMEssage - - the message for error. We do not wont to bother PropertyDesc with localization overheadLaunchExceptionpublic java.lang.String getKey()
public java.lang.String getValue()