com._17od.meteorwebsms.api
Class MSISDN

java.lang.Object
  extended by 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.

If a national number is passed in then the country code defaults to 353(Ireland).

Author:
itdsmita

Constructor Summary
MSISDN(java.lang.String number)
           
 
Method Summary
 java.lang.String getCountryCode()
           
 java.lang.String getInternationalNumber()
           
 java.lang.String getNationalDestinationCode()
           
 java.lang.String getNationalNumber()
           
 java.lang.String getSubscriberNumber()
           
 boolean isIrishMobile()
          Returns true if this MSISDN is for an irish mobile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MSISDN

public MSISDN(java.lang.String number)
       throws MSISDNParseException
Throws:
MSISDNParseException
Method Detail

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.