Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.util
Class EmailValidator

    java.lang.Object
      org.hyperic.util.EmailValidator

    public class EmailValidator

extends java.lang.Object

User's may have email addresses This class provides and validates email addresses The Jakarta ORO libraries full featured (i.e. Perl5) regexp support

Constructor Summary
`EmailValidator()`

Method Summary
`static boolean` | `isValidEmailAddress(java.lang.String email)` Basic syntax check to validate whether something looks like an email address
`static boolean` | `isValidSimpleEmail(java.lang.String email)` Simple check.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EmailValidator

    public EmailValidator()

Method Detail

### isValidEmailAddress

    public static boolean isValidEmailAddress(java.lang.String email)

  Basic syntax check to validate whether something looks like an email address

### isValidSimpleEmail

    public static boolean isValidSimpleEmail(java.lang.String email)

  Simple check. Just make sure there is -- only 1 '@' sign -- no whitespace -- some text before the '@' sign -- some text after the '@' sign -- a dot after the '@' sign -- a TLD after that.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.