com.judoscript.util
Class Ascii
java.lang.Object
com.judoscript.util.Ascii
- Direct Known Subclasses:
- HttpDate, MsgBytes
public class Ascii
- extends java.lang.Object
Constructor Summary |
Ascii()
|
Method Summary |
static boolean |
isAlpha(int c)
|
static boolean |
isDigit(int c)
|
static boolean |
isLower(int c)
|
static boolean |
isUpper(int c)
|
static boolean |
isWhite(int c)
|
static int |
parseInt(byte[] b,
int off,
int len)
Parses an unsigned integer from the specified subarray of bytes. |
static int |
toLower(int c)
|
static int |
toUpper(int c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ascii
public Ascii()
toUpper
public static int toUpper(int c)
toLower
public static int toLower(int c)
isAlpha
public static boolean isAlpha(int c)
isUpper
public static boolean isUpper(int c)
isLower
public static boolean isLower(int c)
isWhite
public static boolean isWhite(int c)
isDigit
public static boolean isDigit(int c)
parseInt
public static int parseInt(byte[] b,
int off,
int len)
throws java.lang.NumberFormatException
- Parses an unsigned integer from the specified subarray of bytes.
- Throws:
java.lang.NumberFormatException
- if the integer format was invalid