public class USAPhoneNumberFormatImpl
extends Object
implements com.liferay.portal.kernel.format.PhoneNumberFormat
Constructor and Description |
---|
USAPhoneNumberFormatImpl() |
Modifier and Type | Method and Description |
---|---|
String |
format(String phoneNumber) |
String |
strip(String phoneNumber) |
boolean |
validate(String phoneNumber) |
public String format(String phoneNumber)
format
in interface com.liferay.portal.kernel.format.PhoneNumberFormat
public String strip(String phoneNumber)
strip
in interface com.liferay.portal.kernel.format.PhoneNumberFormat
public boolean validate(String phoneNumber)
validate
in interface com.liferay.portal.kernel.format.PhoneNumberFormat