org.gsm.oneapi.responsebean.mms
Class RetrieveMMSMessageResponse.Attachment

java.lang.Object
  extended by org.gsm.oneapi.responsebean.mms.RetrieveMMSMessageResponse.Attachment
Enclosing class:
RetrieveMMSMessageResponse

public static class RetrieveMMSMessageResponse.Attachment
extends java.lang.Object

inner class representing each file attachment returned


Constructor Summary
RetrieveMMSMessageResponse.Attachment()
          default constructor
 
Method Summary
 java.lang.String getAttachmentContentType()
          return the MIME content type of the attachment
 byte[] getAttachmentData()
          return the file data of the attachment
 java.lang.String getAttachmentName()
          return the file name of the attachment
 void setAttachmentContentType(java.lang.String attachmentContentType)
          set the MIME content type of the attachment.
 void setAttachmentData(byte[] attachmentData)
          set the file data of the attachment.
 void setAttachmentName(java.lang.String attachmentName)
          set the file name of the attachment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrieveMMSMessageResponse.Attachment

public RetrieveMMSMessageResponse.Attachment()
default constructor

Method Detail

getAttachmentName

public java.lang.String getAttachmentName()
return the file name of the attachment


getAttachmentContentType

public java.lang.String getAttachmentContentType()
return the MIME content type of the attachment


getAttachmentData

public byte[] getAttachmentData()
return the file data of the attachment


setAttachmentName

public void setAttachmentName(java.lang.String attachmentName)
set the file name of the attachment. This is called internally to set the contents according to the MIME response.

Parameters:
attachmentName -

setAttachmentContentType

public void setAttachmentContentType(java.lang.String attachmentContentType)
set the MIME content type of the attachment. This is called internally to set the contents according to the MIME response.

Parameters:
attachmentContentType -

setAttachmentData

public void setAttachmentData(byte[] attachmentData)
set the file data of the attachment. This is called internally to set the contents according to of the MIME response.

Parameters:
attachmentData -