|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.util.MailUtils
Utility methods once in TextUtils that require the mail.jar library.
Constructor Summary | |
MailUtils()
|
Method Summary | |
static byte[] |
decodeBytes(java.lang.String str)
Decode binary data from String using base64. |
static java.lang.String |
encodeBytes(byte[] data)
Encode binary data into String using base64. |
static boolean |
verifyEmail(java.lang.String email)
Verify that the given string is a valid email address. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MailUtils()
Method Detail |
public static final byte[] decodeBytes(java.lang.String str) throws java.io.IOException
java.io.IOException
encodeBytes(byte[])
public static final java.lang.String encodeBytes(byte[] data) throws java.io.IOException
java.io.IOException
decodeBytes(java.lang.String)
public static final boolean verifyEmail(java.lang.String email)
email
- The email address to verify.
|
See www.opensymphony.com for more information. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |