|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPCharacterUtility
XPCharacterUtility contains the utility methods that operate on chars.
Constructor Summary | |
XPCharacterUtility()
|
Method Summary | |
static int |
GetASCIIDecimalValue(char c)
Return 0 - 9 for '0' - '9'. |
static boolean |
IsASCIIDecimalDigit(char c)
True for '0' - '9' (\\u0030 - \\u0039). |
static boolean |
IsLetterOrDigit(char ch)
From JDK API 1.3.1 Documentation for Character.isLetterOrDigit() Determines if the specified character is a letter or digit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPCharacterUtility()
Method Detail |
public static boolean IsLetterOrDigit(char ch)
A character is considered to be a letter if and only if it is specified to be a letter or a digit by the Unicode 2.0 standard (category "Lu", "Ll", "Lt", "Lm", "Lo", or "Nd" in the Unicode specification data file). In other words, isLetterOrDigit is true of a character if and only if either isLetter is true of the character or isDigit is true of the character.
ch
- the character to be tested.
true
if the character is a letter or digit;
false
otherwise.public static boolean IsASCIIDecimalDigit(char c)
c
- Character to be verified.
public static int GetASCIIDecimalValue(char c)
c
- a candidate digit to take numeric value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |