public final class EmailUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getEmail()
Returns the email address of the current user.
|
static boolean |
hasEmail()
Returns
true if an email address has already been entered. |
static void |
removeEmail()
Removes the email address stored on the computer.
|
static void |
setEmail(String email)
Overwrites the email address stored (if any) with the one specified.
|
public static boolean hasEmail()
true
if an email address has already been entered.true
if an email exists, else false
public static String getEmail()
public static void removeEmail()
public static void setEmail(String email)
email
- the new email address to storeCopyright © 2018 Speedment, Inc.. All rights reserved.