Package org.sblim.cimclient.internal.uri
Class KeyValuePair
- java.lang.Object
-
- org.sblim.cimclient.internal.uri.KeyValuePair
-
public class KeyValuePair extends java.lang.Object
key_name "=" key_value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
getKeyValue
getValue()
getValuestatic KeyValuePair
parse(boolean pTyped, URIString pUriStr)
Tries to get anKeyValuePair
from the passedpUriStr
.java.lang.String
toString()
-
-
-
Method Detail
-
parse
public static KeyValuePair parse(boolean pTyped, URIString pUriStr) throws java.lang.IllegalArgumentException
Tries to get anKeyValuePair
from the passedpUriStr
.- Parameters:
pTyped
-pUriStr
-- Returns:
- an
KeyValuePair
ornull
if failed. - Throws:
java.lang.IllegalArgumentException
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-