Package org.sblim.cimclient.internal.uri
Class KeyValuePair
- java.lang.Object
-
- org.sblim.cimclient.internal.uri.KeyValuePair
-
public class KeyValuePair extends java.lang.Objectkey_name "=" key_value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()getKeyValuegetValue()getValuestatic KeyValuePairparse(boolean pTyped, URIString pUriStr)Tries to get anKeyValuePairfrom the passedpUriStr.java.lang.StringtoString()
-
-
-
Method Detail
-
parse
public static KeyValuePair parse(boolean pTyped, URIString pUriStr) throws java.lang.IllegalArgumentException
Tries to get anKeyValuePairfrom the passedpUriStr.- Parameters:
pTyped-pUriStr-- Returns:
- an
KeyValuePairornullif failed. - Throws:
java.lang.IllegalArgumentException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
getKey
public java.lang.String getKey()
getKey- Returns:
- the key String
-
getValue
public Value getValue()
getValue- Returns:
- the value String
-
-