Developer

PhoneNumber class

The PhoneNumber is mainly used to transform a phone number or MSISDN between national and international notation.

Package

com.sybase365.mobiliser.brand.plugins.useful
Syntax
Syntax
public class PhoneNumber

Members

All members of PhoneNumber, including inherited members.

Variables
Modifier and Type Variable Description
public static final String DEFAULT_COUNTRY_CODE A default country code, set to 49.
Constructors
Modifier and Type Constructor Description
public PhoneNumber(String) Creates a new instance of PhoneNumber using the DEFAULT_COUNTRY_CODE.
public PhoneNumber(String, String)  
Methods
Modifier and Type Method Description
public boolean equals(Object)  
public String getInternationalFormat()  
public String getNationalFormat()  
public String getNumericInternationalFormat()  
public String getShortInternationalFormat()  
public int hashCode()  
public String toString()