com.liferay.portal.kernel.format
Class PhoneNumberFormatUtil
java.lang.Object
com.liferay.portal.kernel.format.PhoneNumberFormatUtil
public class PhoneNumberFormatUtil
- extends java.lang.Object
- Author:
- Brian Wing Shun Chan, Manuel de la Peña
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneNumberFormatUtil
public PhoneNumberFormatUtil()
format
public static java.lang.String format(java.lang.String phoneNumber)
getPhoneNumberFormat
public static PhoneNumberFormat getPhoneNumberFormat()
strip
public static java.lang.String strip(java.lang.String phoneNumber)
validate
public static boolean validate(java.lang.String phoneNumber)
setPhoneNumberFormat
public void setPhoneNumberFormat(PhoneNumberFormat phoneNumberFormat)