public class Message extends Object implements Serializable
| Constructor and Description |
|---|
Message(String phone,
String sendMsg)
Creates a message with a phone number and a message text to send.
|
public Message(String phone, String sendMsg) throws MessageFormatException
phone - The phone number.sendMsg - The message to send.MessageFormatException - When there is a problem with the message format,
e.g. phone number standard, length of message to send, invalid characters
in the message.public String getPhone()
public String getText()
public String toString()
toString in class ObjectObject.toString()Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.