|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.buf.Ascii
public final class Ascii
This class implements some basic ASCII character handling functions.
| Constructor Summary | |
|---|---|
Ascii()
|
|
| Method Summary | |
|---|---|
static boolean |
isAlpha(int c)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static boolean |
isDigit(int c)
Returns true if the specified ASCII character is a digit. |
static boolean |
isLower(int c)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static boolean |
isUpper(int c)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static boolean |
isWhite(int c)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static int |
parseInt(byte[] b,
int off,
int len)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static int |
parseInt(char[] b,
int off,
int len)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static long |
parseLong(byte[] b,
int off,
int len)
Parses an unsigned long from the specified subarray of bytes. |
static long |
parseLong(char[] b,
int off,
int len)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
static int |
toLower(int c)
Returns the lower case equivalent of the specified ASCII character. |
static int |
toUpper(int c)
Deprecated. Unused. Will be removed in Tomcat 8.0.x onwards. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ascii()
| Method Detail |
|---|
@Deprecated public static int toUpper(int c)
public static int toLower(int c)
@Deprecated public static boolean isAlpha(int c)
@Deprecated public static boolean isUpper(int c)
@Deprecated public static boolean isLower(int c)
@Deprecated public static boolean isWhite(int c)
public static boolean isDigit(int c)
@Deprecated
public static int parseInt(byte[] b,
int off,
int len)
throws NumberFormatException
b - the bytes to parseoff - the start offset of the byteslen - the length of the bytes
NumberFormatException - if the integer format was invalid
@Deprecated
public static int parseInt(char[] b,
int off,
int len)
throws NumberFormatException
NumberFormatException
public static long parseLong(byte[] b,
int off,
int len)
throws NumberFormatException
b - the bytes to parseoff - the start offset of the byteslen - the length of the bytes
NumberFormatException - if the long format was invalid
@Deprecated
public static long parseLong(char[] b,
int off,
int len)
throws NumberFormatException
NumberFormatException
|
Apache Tomcat 7.0.28 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||