FileDocCategorySizeDatePackage
TextObject.javaAPI DocphoneME MR2 API (J2ME)2047Wed May 02 18:00:32 BST 2007com.sun.midp.io.j2me.cbs

TextObject

public class TextObject extends com.sun.midp.io.j2me.sms.TextObject
Implements a CBS text message for the CBS message connection.

Fields Summary
Constructors Summary
public TextObject(String toAddress)
Constructs a message and initialize the target address.

param
toAddress The address of the recipient. May be null.

        super(toAddress);
    
Methods Summary
public java.util.DategetTimestamp()
Returns the time at which the message was sent.

return
Always returns null, since CBS messages do not support a time stamp.

        return null;
    
public voidsetTimeStamp()
Sets the time at which the message was sent.

throws
IllegalArgumentException Always thrown, since the time stamp is always null.

        throw new IllegalArgumentException("Cannot set time stamp.");