public class ObjectTypeChecker
extends java.lang.Object
| Constructor and Description |
|---|
ObjectTypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBigInteger(java.lang.String input)
Checks if the given string is a
BigInteger |
static boolean |
isBigInteger(java.lang.String input,
int radix)
Checks if the given string is a
BigInteger |
static boolean |
isBoolean(java.lang.String input)
Checks if the given string is a boolean.
|
static boolean |
isByte(java.lang.String input)
Checks if the given string is a byte.
|
static boolean |
isByte(java.lang.String input,
int radix)
Checks if the given string is a byte.
|
static boolean |
isCharacter(java.lang.String input)
Checks if the given string is a character.
|
static boolean |
isDouble(java.lang.String input)
Checks if the given string is a double.
|
static boolean |
isFloat(java.lang.String input)
Checks if the given string is a float.
|
static boolean |
isInteger(java.lang.String input)
Checks if the given string is an integer.
|
static boolean |
isInteger(java.lang.String input,
int radix)
Checks if the given string is an integer.
|
static boolean |
isLong(java.lang.String input)
Checks if the given string is a long.
|
static boolean |
isLong(java.lang.String input,
int radix)
Checks if the given string is a long.
|
static boolean |
isShort(java.lang.String input)
Checks if the given string is a short.
|
static boolean |
isShort(java.lang.String input,
int radix)
Checks if the given string is a short.
|
static boolean |
isUUID(java.lang.String input)
Checks if a given string is a UUID.
|
public static boolean isInteger(java.lang.String input)
input - The string to check.public static boolean isInteger(java.lang.String input,
int radix)
input - The string to check.radix - The radix used while parsing the input.public static boolean isLong(java.lang.String input)
input - The string to check.public static boolean isLong(java.lang.String input,
int radix)
input - The string to check.radix - The radix used while parsing the input.public static boolean isFloat(java.lang.String input)
input - The string to check.public static boolean isDouble(java.lang.String input)
input - The string to check.public static boolean isBoolean(java.lang.String input)
input - The string to check.public static boolean isByte(java.lang.String input)
input - The string to check.public static boolean isByte(java.lang.String input,
int radix)
input - The string to check.radix - The radix used while parsing the input.public static boolean isShort(java.lang.String input)
input - The string to check.public static boolean isShort(java.lang.String input,
int radix)
input - The string to check.radix - The radix used while parsing the input.public static boolean isCharacter(java.lang.String input)
input - The string to check.public static boolean isUUID(java.lang.String input)
input - The string to check.public static boolean isBigInteger(java.lang.String input)
BigIntegerinput - The string to check.public static boolean isBigInteger(java.lang.String input,
int radix)
BigIntegerinput - The string to check.radix - The radix used while parsing the input.