Class MailUtil
java.lang.Object
cl.obcom.desktopfx.util.MailUtil
Utility methods that perform general mail operations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckMailAddress(String str) Returnstrueif the supplied string is a valid mail address.static StringReturns a string with a new random mail verification code.
-
Method Details
-
newMailVerificationCode
Returns a string with a new random mail verification code.- Returns:
- a string with a new random mail verification code.
-
checkMailAddress
Returnstrueif the supplied string is a valid mail address.- Parameters:
str- the string to be checked (can be null).- Returns:
trueifstris a valid mail address.
-