public class Validate
extends java.lang.Object
Constructor and Description |
---|
Validate() |
Modifier and Type | Method and Description |
---|---|
static boolean |
minecraftUsername(java.lang.String username)
Indicates whether a given minecraft username is valid.
|
static void |
notNull(java.lang.Object object) |
static void |
notNull(java.lang.Object object,
java.lang.String message) |
public static void notNull(java.lang.Object object, java.lang.String message)
public static void notNull(java.lang.Object object)
public static boolean minecraftUsername(java.lang.String username)
username
- the username to be validatedtrue
if the given username is valid, false
otherwise