Package org.sblim.cimclient.internal.uri
Class CharValue
java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.CharValue
- All Implemented Interfaces:
QuotedValue
Class CharValue parses character value.
-
Method Details
-
parse
charValue = // example: 'a' '\x32'- Parameters:
pUriStr
-pThrow
-- Returns:
Value
ornull
if parsing is failed andpThrow
isfalse
- Throws:
IllegalArgumentException
- if parsing is failed andpThrow
istrue
-
parse
Parses a char16 value.- Parameters:
pUriStr
-- Returns:
- Value or null if parsing failed.
-
get
public char get()getChar- Returns:
- char
-
getCharacter
getCharacter- Returns:
- Character
-
toString
-
toQuotedString
Description copied from interface:QuotedValue
Prints the String representation in a quoted form.- Specified by:
toQuotedString
in interfaceQuotedValue
- Returns:
- String
- See Also:
-
getTypeInfo
Description copied from class:Value
getTypeInfo- Specified by:
getTypeInfo
in classValue
- Returns:
- the type description string of the Value.
- See Also:
-