|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ie.ncl.sms.nbs.NetworkOperator
public class NetworkOperator
This class is used to identify a network operator.
Constructor Summary | |
---|---|
NetworkOperator(java.lang.String cc,
java.lang.String ndc)
A NetworkOperator is specified by the mobile country code (MCC) and the national dialing code (NDC) and it's optional name. |
|
NetworkOperator(java.lang.String name,
java.lang.String mcc,
java.lang.String mnc,
java.lang.String cc,
java.lang.String ndc)
A NetworkOperator is specified by the mobile country code (MCC) and the national mobile code (NDC). |
Method Summary | |
---|---|
static NetworkOperator |
dbGet(int i)
|
static int |
dbSize()
|
static NetworkOperator |
find(java.lang.String tel)
|
java.lang.String |
getCC()
Get the mobile country code for this operator (not the same as country code). |
java.lang.String |
getMCC()
Get the mobile country code for this operator (not the same as country code). |
java.lang.String |
getMNC()
Get the mobile national code for this operator (not the same as national dial code). |
java.lang.String |
getName()
Get the name of this operator. |
java.lang.String |
getNDC()
Get the national dialing code (NDC) for this operator. |
static void |
init()
|
java.lang.String |
toString()
String form. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetworkOperator(java.lang.String name, java.lang.String mcc, java.lang.String mnc, java.lang.String cc, java.lang.String ndc)
public NetworkOperator(java.lang.String cc, java.lang.String ndc) throws NetworkOperatorException
NetworkOperatorException
Method Detail |
---|
public static void init() throws NetworkOperatorException
NetworkOperatorException
public static int dbSize()
public static NetworkOperator dbGet(int i)
public static NetworkOperator find(java.lang.String tel) throws NetworkOperatorException
NetworkOperatorException
public java.lang.String getMCC()
public java.lang.String getMNC()
public java.lang.String getCC()
public java.lang.String getNDC()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |