Package com.jalios.jcms.i18n
Class PhoneNumber
java.lang.Object
com.jalios.jcms.i18n.PhoneNumber
Helper class used to store a correctly parsed phone number.
Provide an abstract layer between the underlying implementation.
- Since:
- jcms-9.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve this phone number in the E164 format.Retrieve this phone number in an international format, as per ITU-T Recommendation E.Retrieve this phone number in the RFC 3966 format.toString()
-
Method Details
-
toRFC3966String
Retrieve this phone number in the RFC 3966 format.- Returns:
- a string representation of this phone number enforcing RFC 3966 format
-
toInternationalString
Retrieve this phone number in an international format, as per ITU-T Recommendation E. 123.- Returns:
- a string representation of this phone number in international format, as per ITU-T Recommendation E. 123.
-
toE164String
Retrieve this phone number in the E164 format.- Returns:
- a string representation of this phone number enforcing E164 format
-
toString
-