org.dlese.dpc.webapps.tools
Class FormValidationTools
java.lang.Object
org.dlese.dpc.webapps.tools.FormValidationTools
- public final class FormValidationTools
- extends Object
This class contains tools for validating form input from users.
- Author:
- John Weatherley
Method Summary |
static boolean |
isValidEmail(String email)
Validates the format of an e-mail address. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormValidationTools
public FormValidationTools()
isValidEmail
public static final boolean isValidEmail(String email)
- Validates the format of an e-mail address.
- Parameters:
email
- The e-mail address to validate.
- Returns:
- True iff this e-mail has a valid format.