public final class Ascii extends Object
| Constructor and Description |
|---|
Ascii() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAlpha(int c)
Deprecated.
Unused. Will be removed in Tomcat 8.0.x onwards.
|
static boolean |
isDigit(int c) |
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.
|
@Deprecated public static int toUpper(int c)
c - The charpublic static int toLower(int c)
c - The char@Deprecated public static boolean isAlpha(int c)
c - The chartrue if the specified ASCII character is a upper
or lower case@Deprecated public static boolean isUpper(int c)
c - The chartrue if the specified ASCII character is a upper
case@Deprecated public static boolean isLower(int c)
c - The chartrue if the specified ASCII character is a lower
case@Deprecated public static boolean isWhite(int c)
c - The chartrue if the specified ASCII character is a white
spacepublic static boolean isDigit(int c)
c - The chartrue if the specified ASCII character is a digit.@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 bytesNumberFormatException - if the integer format was invalid@Deprecated public static int parseInt(char[] b, int off, int len) throws NumberFormatException
b - the characters to parseoff - the start offset of the characterslen - the length of the charactersNumberFormatException - if the long format was invalidpublic 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 bytesNumberFormatException - if the long format was invalid@Deprecated public static long parseLong(char[] b, int off, int len) throws NumberFormatException
b - the characters to parseoff - the start offset of the characterslen - the length of the charactersNumberFormatException - if the long format was invalidCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.