public class CallerId extends Object implements Serializable
Constructor and Description |
---|
CallerId(String name,
String number)
Creates a new CallerId.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Returns the Caller*ID name.
|
String |
getNumber()
Returns the the Caller*ID number.
|
int |
hashCode() |
String |
toString()
Returns a string representation of this CallerId in the form
"Some Name" <1234> . |
static CallerId |
valueOf(String s)
Parses a caller id string in the form
"Some Name" <1234> to a CallerId object. |
public String getName()
public String getNumber()
public static CallerId valueOf(String s)
"Some Name" <1234>
to a CallerId object.s
- the caller id string to parse.null
.AstUtil.parseCallerId(String)
public String toString()
"Some Name" <1234>
.Copyright © 2004–2021. All rights reserved.