Class USAPhoneNumberFormatImpl

Object
com.liferay.portal.format.USAPhoneNumberFormatImpl
All Implemented Interfaces:
com.liferay.portal.kernel.format.PhoneNumberFormat

public class USAPhoneNumberFormatImpl extends Object implements com.liferay.portal.kernel.format.PhoneNumberFormat
Author:
Brian Wing Shun Chan, Manuel de la Peña
  • Constructor Details

    • USAPhoneNumberFormatImpl

      public USAPhoneNumberFormatImpl()
  • Method Details

    • format

      public String format(String phoneNumber)
      Specified by:
      format in interface com.liferay.portal.kernel.format.PhoneNumberFormat
    • strip

      public String strip(String phoneNumber)
      Specified by:
      strip in interface com.liferay.portal.kernel.format.PhoneNumberFormat
    • validate

      public boolean validate(String phoneNumber)
      Specified by:
      validate in interface com.liferay.portal.kernel.format.PhoneNumberFormat