All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nist.javax.sip.message.MultipartMimeContent Maven / Gradle / Ivy

The newest version!
package android.gov.nist.javax.sip.message;

import java.util.Iterator;
import java.util.List;

import android.javax.sip.header.ContentTypeHeader;

public interface MultipartMimeContent {

    public abstract boolean add(Content content);

    /**
     * Return the Content type header to assign to the outgoing sip meassage.
     * 
     * @return
     */
    public abstract ContentTypeHeader getContentTypeHeader();

    public abstract String toString();

    /**
     * Set the content by its type.
     * 
     * @param content
     */
    public abstract void addContent( Content content);
    
    /**
     * Retrieve the list of Content that is part of this MultitypeMime content.
     * 
     * @return - the content iterator. Returns an empty iterator if no content list present.
     */
    public Iterator getContents();
    
    /**
     * Get the number of Content parts.
     * 
     * @return - the content parts.
     */
    public int getContentCount();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy