hr.tis.mgw.client.message
Class LogoMessage

java.lang.Object
  extended byhr.tis.mgw.client.message.Message
      extended byhr.tis.mgw.client.message.LogoMessage
All Implemented Interfaces:
java.io.Serializable

public class LogoMessage
extends Message

SMS message containing logo content.

See Also:
Serialized Form

Constructor Summary
LogoMessage(byte[] image, Format smsFormat)
          Constructs SMS Logo message with logo as binary image (jpeg, gif or png) in defined Format.
 
Method Summary
 byte[] getImage()
          Return Image as byte array.
 Format getSmsFormat()
          Return Message format.
 java.lang.String toString()
           
 
Methods inherited from class hr.tis.mgw.client.message.Message
getAttachments, getSubject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogoMessage

public LogoMessage(byte[] image,
                   Format smsFormat)
Constructs SMS Logo message with logo as binary image (jpeg, gif or png) in defined Format.

Parameters:
image - Image byte array
smsFormat - Message format
Method Detail

getImage

public byte[] getImage()
Return Image as byte array.

Returns:
Image as byte array

getSmsFormat

public Format getSmsFormat()
Return Message format.

Returns:
Message format

toString

public java.lang.String toString()


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