com._17od.meteorwebsms.api
Class MSISDN
java.lang.Object
com._17od.meteorwebsms.api.MSISDN
public class MSISDN
- extends java.lang.Object
This class represents a MSISDN.
National and international number formats are accepted in the constructor.
- +353872294733
- 00353872294733
- 0872294733
If a national number is passed in then the country code defaults to 353(Ireland).
- Author:
- itdsmita
|
Constructor Summary |
MSISDN(java.lang.String number)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSISDN
public MSISDN(java.lang.String number)
throws MSISDNParseException
- Throws:
MSISDNParseException
getCountryCode
public java.lang.String getCountryCode()
getNationalDestinationCode
public java.lang.String getNationalDestinationCode()
getSubscriberNumber
public java.lang.String getSubscriberNumber()
getInternationalNumber
public java.lang.String getInternationalNumber()
getNationalNumber
public java.lang.String getNationalNumber()
isIrishMobile
public boolean isIrishMobile()
- Returns true if this MSISDN is for an irish mobile
- Returns:
Copyright © 2007. All Rights Reserved.