Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.format
Class PhoneNumberFormatWrapper

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

public class PhoneNumberFormatWrapper
extends Object
implements PhoneNumberFormat


Constructor Summary
PhoneNumberFormatWrapper(PhoneNumberFormat phoneNumberFormat)
           
 
Method Summary
 String format(String phoneNumber)
           
 void setPhoneNumberFormat(PhoneNumberFormat phoneNumberFormat)
           
 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

PhoneNumberFormatWrapper

public PhoneNumberFormatWrapper(PhoneNumberFormat phoneNumberFormat)
Method Detail

format

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

setPhoneNumberFormat

public void setPhoneNumberFormat(PhoneNumberFormat 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