Liferay 6.1.2-ce-ga3

com.liferay.portal.format
Class USAPhoneNumberFormatImpl

java.lang.Object
  extended by com.liferay.portal.format.USAPhoneNumberFormatImpl
All Implemented Interfaces:
PhoneNumberFormat

public class USAPhoneNumberFormatImpl
extends Object
implements PhoneNumberFormat


Constructor Summary
USAPhoneNumberFormatImpl()
           
 
Method Summary
 String format(String phoneNumber)
           
 String strip(String phoneNumber)
           
 boolean validate(String phoneNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USAPhoneNumberFormatImpl

public USAPhoneNumberFormatImpl()
Method Detail

format

public String format(String phoneNumber)
Specified by:
format in interface PhoneNumberFormat

strip

public String strip(String phoneNumber)
Specified by:
strip in interface PhoneNumberFormat

validate

public boolean validate(String phoneNumber)
Specified by:
validate in interface PhoneNumberFormat

Liferay 6.1.2-ce-ga3