|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PhoneNumberI18nService
Represents an OSGi service which aids the parsing, formatting and validating of international phone numbers.
| Method Summary | |
|---|---|
boolean |
isPhoneNumber(String possibleNumber)
Indicates if the given string is possibly a phone number. |
String |
normalize(String phoneNumber)
Normalizes a String phone number by converting alpha characters to their respective digits on a keypad and then stripping non-digit characters. |
boolean |
phoneNumbersMatch(String aPhoneNumber,
String bPhoneNumber)
Determines whether two String phone numbers match. |
| Method Detail |
|---|
String normalize(String phoneNumber)
phoneNumber - a String which represents a phone number to
normalize
boolean phoneNumbersMatch(String aPhoneNumber,
String bPhoneNumber)
aPhoneNumber - a String which represents a phone number to
match to bPhoneNumberbPhoneNumber - a String which represents a phone number to
match to aPhoneNumber
boolean isPhoneNumber(String possibleNumber)
possibleNumber - the string to be verified
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||