|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mhuss.Util.CMac
public class CMac
This is a set of handy utility functions (from 'C' land).
Note: For simplicity, these assume the 'C' locale and ASCII charset
Constructor Summary | |
---|---|
CMac()
|
Method Summary | |
---|---|
static boolean |
isalnum(char c)
Returns true if the char isalpha() or isdigit(). |
static boolean |
isalpha(char c)
Returns true if the char isupper() or islower(). |
static boolean |
isascii(char c)
Returns true if the int value of the char is from 0 to 127 inclusive. |
static boolean |
isdigit(char c)
Returns true if the char is from '0' to '9' inclusive. |
static boolean |
islower(char c)
Returns true if the char is from 'a' to 'z' inclusive. |
static boolean |
isspace(char c)
Returns true if the char is in the set SP, HT, LF, VT, FF, CR. |
static boolean |
isupper(char c)
Returns true if the char is from 'A' to 'Z' inclusive. |
static boolean |
isxdigit(char c)
Returns true if the char isdigit() or is from 'A' to 'F' or 'a' to 'f' inclusive. |
static char |
tolower(char c)
Returns lowercase of input char if input is from 'A' to 'Z', else returns input char unchanged. |
static char |
toupper(char c)
Returns uppercase of input char if input is from 'a' to 'z', else returns input char unchanged. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CMac()
Method Detail |
---|
public static boolean isalpha(char c)
public static boolean isupper(char c)
public static boolean islower(char c)
public static boolean isdigit(char c)
public static boolean isxdigit(char c)
public static boolean isalnum(char c)
public static boolean isspace(char c)
public static boolean isascii(char c)
public static char toupper(char c)
public static char tolower(char c)
|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |