org.marre.sms
Class GsmOperators

java.lang.Object
  extended byorg.marre.sms.GsmOperators

public final class GsmOperators
extends java.lang.Object

Contains MCC and MNC definitions for various GSM operators. TODO: Is this class really needed?

Version:
$Id: GsmOperators.java,v 1.2 2005/11/26 17:05:04 c95men Exp $
Author:
Markus Eriksson

Method Summary
static int[] getMCC_MNC(java.util.Properties mccmncProp, java.lang.String country, java.lang.String operator)
          Returns the Mcc and Mnc number for the given operator.
static int[] getMCC_MNC(java.lang.String country, java.lang.String operator)
          Returns the Mcc and Mnc number for the given operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMCC_MNC

public static int[] getMCC_MNC(java.util.Properties mccmncProp,
                               java.lang.String country,
                               java.lang.String operator)
Returns the Mcc and Mnc number for the given operator.

Parameters:
mccmncProp - The property file
country - the countrycode for the country (e.g. "se", "fi")
operator - the receivers number in international format (e.g. +49172..)
Returns:

getMCC_MNC

public static int[] getMCC_MNC(java.lang.String country,
                               java.lang.String operator)
Returns the Mcc and Mnc number for the given operator. The property file is loaded as resource mccmnc.prop

Parameters:
country - the countrycode for the country (e.g. "se", "fi")
operator - the receivers number in international format (e.g. +49172..)
Returns:


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.