|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osgi.util.gsm.IMSICondition
public class IMSICondition
Class representing an IMSI condition. Instances of this class contain a string value that is matched against the IMSI of the subscriber.
| Method Summary | |
|---|---|
static Condition |
getCondition(Bundle bundle,
ConditionInfo conditionInfo)
Creates an IMSI condition object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Condition getCondition(Bundle bundle,
ConditionInfo conditionInfo)
bundle - This parameter is ignored, as the IMSI number is a property
of the mobile subscriber and thus is the same for all bundles.conditionInfo - Contains the IMSI value against which to match the
subscriber's IMSI. Its ConditionInfo.getArgs() method
should return a String array with one value: the IMSI string. The
IMSI is 15 digits without hyphens. Limited pattern matching is
allowed: the string is 0 to 14 digits, followed by an asterisk (
*).
*), then the beginning of the IMSI is
compared to the pattern.
java.lang.IllegalArgumentException - If the IMSI is not a string of 15
digits, or 0 to 14 digits with an * at the end.
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||