Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## hr.tis.mgw.client.message
Class SmsMessage

    java.lang.Object
      hr.tis.mgw.client.message.Message
          hr.tis.mgw.client.message.SmsMessage

All Implemented Interfaces:
  java.io.Serializable

public class SmsMessage
extends Message

SMS message containing textual content.

See Also:
  Serialized Form

Constructor Summary
`SmsMessage(java.lang.String text)` Constructs SMS message in UTF-8 charset.
`SmsMessage(java.lang.String text, java.lang.String charset)` Deprecated. Deprecated in library version 2. Charset is deprecated since it depends on Attachement.

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`Attachment[]` | `getAttachments()` Deprecated. Deprecated in library version 2. Attachment are no longer used.
`java.lang.String` | `getText()` Get message text.
`int` | `hashCode()`
`java.lang.String` | `toString()`

Methods inherited from class hr.tis.mgw.client.message.Message
`getSubject`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SmsMessage

    public SmsMessage(java.lang.String text)

  Constructs SMS message in UTF-8 charset.

Parameters:
  `text` - message content

### SmsMessage

    public SmsMessage(java.lang.String text,
                      java.lang.String charset)

  Deprecated. Deprecated in library version 2. Charset is deprecated since it depends on Attachement.

  Constructs SMS message in defined charset.

Parameters:
  `text` - Message text
  `charset` - Text charset.

Method Detail

### getText

    public java.lang.String getText()

  Get message text.

  Returns:
    Message text

### getAttachments

    public Attachment[] getAttachments()

  Deprecated. Deprecated in library version 2. Attachment are no longer used.

  Get message attachments.

  Overrides:
    `getAttachments` in class `Message`
  Returns:
    array of Attachments
  See Also:
    `MmsMessage`, `MmsPart`

### equals

    public boolean equals(java.lang.Object obj)

### hashCode

    public int hashCode()

### toString

    public java.lang.String toString()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007, TIS.kis d.o.o. All Rights Reserved.