public abstract class SmsAddress extends Object
Modifier and Type | Field and Description |
---|---|
String |
address |
byte[] |
origBytes |
int |
ton |
static int |
TON_ABBREVIATED |
static int |
TON_ALPHANUMERIC |
static int |
TON_INTERNATIONAL |
static int |
TON_NATIONAL |
static int |
TON_NETWORK |
static int |
TON_SUBSCRIBER |
static int |
TON_UNKNOWN |
Constructor and Description |
---|
SmsAddress() |
Modifier and Type | Method and Description |
---|---|
boolean |
couldBeEmailGateway() |
String |
getAddressString()
Returns the address of the SMS message in String form or null if unavailable
|
boolean |
isAlphanumeric()
Returns true if this is an alphanumeric address
|
boolean |
isNetworkSpecific()
Returns true if this is a network address
|
public static final int TON_UNKNOWN
public static final int TON_INTERNATIONAL
public static final int TON_NATIONAL
public static final int TON_NETWORK
public static final int TON_SUBSCRIBER
public static final int TON_ALPHANUMERIC
public static final int TON_ABBREVIATED
public int ton
public String address
public byte[] origBytes
public String getAddressString()
public boolean isAlphanumeric()
public boolean isNetworkSpecific()
public boolean couldBeEmailGateway()