JAIN-SIP 2.0 API

javax.sip.message
Interface MultipartMimeContent


public interface MultipartMimeContent


Method Summary
 boolean add(Content content)
           
 void addContent(Content content)
          Set the content by its type.
 int getContentCount()
          Get the number of Content parts.
 Iterator<Content> getContents()
          Retrieve the list of Content that is part of this MultitypeMime content.
 ContentTypeHeader getContentTypeHeader()
          Return the Content type header to assign to the outgoing sip meassage.
 String toString()
          Convert to String.
 

Method Detail

add

boolean add(Content content)

getContentTypeHeader

ContentTypeHeader getContentTypeHeader()
Return the Content type header to assign to the outgoing sip meassage.

Returns:
- the content type header for this MltipartMime content.

toString

String toString()
Convert to String.

Overrides:
toString in class Object
Returns:
the string representation of this multipart mime body

addContent

void addContent(Content content)
Set the content by its type.

Parameters:
content - - content fragment.

getContents

Iterator<Content> getContents()
Retrieve the list of Content that is part of this MultitypeMime content.

Returns:
- the content iterator. Returns an empty iterator if no content list present.

getContentCount

int getContentCount()
Get the number of Content parts.

Returns:
- the content parts.

JAIN-SIP 2.0 API


See conditions of use.
Submit a bug report or feature request.