Rev 8 |
Go to most recent revision |
Blame |
Last modification |
View Log
| RSS feed
package de.viathinksoft.utils.mail;
/**
* This class contains a function which "preproceses an email address. Following
* steps will be performed: 1. The email address will be trimmed (in case of
* user inputs) 2. E-Mail-Addresses with internationalized domain names will be
* converted into ASCII compatible punycode (the local part will be left as it
* is!)
*
* @author Daniel Marschall
*
*/
public class EMailPreprocessor {
EMailAddress email = new EMailAddress(eMailAddress);
return email.getMailAddressPunycodedDomain();
}
private EMailPreprocessor() {
}
}