|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.base.BaseObject
adams.core.base.AbstractBaseString
adams.core.net.EmailAddress
public class EmailAddress
Wrapper for a regular expression string to be editable in the GOE. Basically
the same as BaseString, but checks whether the string represents a valid
address using javax.mail.internet.InternetAddress.
| Field Summary | |
|---|---|
static String |
DUMMY_ADDRESS
the dummy address. |
| Fields inherited from class adams.core.base.BaseObject |
|---|
m_Internal |
| Constructor Summary | |
|---|---|
EmailAddress()
Initializes the email address with a dummy one. |
|
EmailAddress(String s)
Initializes the object with the string to parse. |
|
| Method Summary | |
|---|---|
String |
getTipText()
Returns a tool tip for the GUI editor (ignored if null is returned). |
boolean |
isDummyAddress()
Returns whether the address is just the dummy address. |
boolean |
isValid(String value)
Checks whether the string value is a valid presentation for this class. |
String |
strippedValue()
Returns the actual email address from the email string. |
| Methods inherited from class adams.core.base.AbstractBaseString |
|---|
convert, getValue, isEmpty, setValue, stringValue |
| Methods inherited from class adams.core.base.BaseObject |
|---|
compareTo, equals, getClone, getInternal, hashCode, newInstance, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DUMMY_ADDRESS
| Constructor Detail |
|---|
public EmailAddress()
public EmailAddress(String s)
s - the string to parse| Method Detail |
|---|
public boolean isValid(String value)
isValid in class AbstractBaseStringvalue - the string value to check
InternetAddresspublic boolean isDummyAddress()
public String getTipText()
getTipText in class AbstractBaseStringpublic String strippedValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||