Package com.opencloud.sentinel.util
Class SipAddressStringNormalizer
- java.lang.Object
-
- com.opencloud.sentinel.util.SipAddressStringNormalizer
-
public final class SipAddressStringNormalizer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SipAddressStringNormalizer()
-
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
-
-
-
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 normalizeaddressNormalizer
- 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
-
-