DLESE Tools
v1.6.0

org.dlese.dpc.webapps.tools
Class FormValidationTools

java.lang.Object
  extended by 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

Constructor Summary
FormValidationTools()
           
 
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
 

Constructor Detail

FormValidationTools

public FormValidationTools()
Method Detail

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.

DLESE Tools
v1.6.0