Class SipAddressStringNormalizer


  • public final class SipAddressStringNormalizer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String normaliseAddress​(SipAddressString toNormalize, com.opencloud.sentinel.feature.normalizer.Normalizer addressNormalizer)
      Normalise the address
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SipAddressStringNormalizer

        public SipAddressStringNormalizer()
    • Method Detail

      • normaliseAddress

        public static java.lang.String normaliseAddress​(SipAddressString toNormalize,
                                                        com.opencloud.sentinel.feature.normalizer.Normalizer addressNormalizer)
                                                 throws com.opencloud.sentinel.feature.normalizer.Normalizer.NumberNormalizationException
        Normalise the address
        Parameters:
        toNormalize - the address to normalize
        addressNormalizer - the address normaliser to use
        Returns:
        a normalised address string, or null if no change is needed
        Throws:
        com.opencloud.sentinel.feature.normalizer.Normalizer.NumberNormalizationException - if there is a failure normalizing the address