/** * format phone number in common format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatCommon(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatCommonWithPos(this.parsePhoneNumber(pphoneNumber), defaultCountryData), pphoneNumber); }
/** * format phone number in DIN 5008 national format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatDin5008National(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatDin5008NationalWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in RFC 3966 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatRfc3966(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults(this.formatRfc3966WithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in URL format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatUrlWithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatUrlWithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in DIN 5008 international format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatDin5008International( final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatDin5008InternationalWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in RFC 3966 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatRfc3966WithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatRfc3966WithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in Microsoft canonical address format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatMs(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults(this.formatMsWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in URL format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatUrlWithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatUrlWithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in Microsoft canonical address format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatMsWithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatMsWithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in URL format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatUrl(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults(this.formatUrlWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in DIN 5008 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatDin5008(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatDin5008WithPos(this.parsePhoneNumber(pphoneNumber), defaultCountryData), pphoneNumber); }
/** * format phone number in RFC 3966 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatRfc3966WithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatRfc3966WithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in common international format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatCommonInternational( final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatCommonInternationalWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in DIN 5008 international format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatDin5008InternationalWithPos( final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatDin5008InternationalWithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in E123 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatE123(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatE123WithPos(this.parsePhoneNumber(pphoneNumber), defaultCountryData), pphoneNumber); }
/** * format phone number in Microsoft canonical address format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatMs(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults(this.formatMsWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in Microsoft canonical address format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @param pcountryCode iso code of country * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatMsWithPos(final ValueWithPos<String> pphoneNumber, final String pcountryCode) { return valueWithPosDefaults( this.formatMsWithPos(this.parsePhoneNumber(pphoneNumber, pcountryCode)), pphoneNumber); }
/** * format phone number in common national format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatCommonNational(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatCommonNationalWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in RFC 3966 format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatRfc3966(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults(this.formatRfc3966WithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }
/** * format phone number in common national format with cursor position handling. * * @param pphoneNumber phone number as String to format with cursor position * @return formated phone number as String with new cursor position */ public final ValueWithPos<String> formatCommonNational(final ValueWithPos<String> pphoneNumber) { return valueWithPosDefaults( this.formatCommonNationalWithPos(this.parsePhoneNumber(pphoneNumber)), pphoneNumber); }