|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.common.text.TextTools
public class TextTools
| Constructor Summary | |
|---|---|
TextTools()
|
|
| Method Summary | |
|---|---|
static boolean |
isAlphaNumeric(char c)
Returns true if the char c is alpha numeric i.e it belongs to one of the following ranges [0,9], [A,Z] or [a,z] |
static char |
toHex(int z)
Returns the hexadecimal value of the provided numeric value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextTools()
| Method Detail |
|---|
public static boolean isAlphaNumeric(char c)
c - the char to test
public static char toHex(int z)
throws java.lang.IllegalArgumentException
z - the numeric value to convert
java.lang.IllegalArgumentException - if the value is not between 0 and 15
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||