FileDocCategorySizeDatePackage
Multipart.javaAPI DocAndroid 1.5 API1880Wed May 06 22:42:46 BST 2009com.android.email.mail

Multipart

public abstract class Multipart extends Object implements Body

Fields Summary
protected Part
mParent
protected ArrayList
mParts
protected String
mContentType
Constructors Summary
Methods Summary
public voidaddBodyPart(BodyPart part)


          
        mParts.add(part);
    
public voidaddBodyPart(BodyPart part, int index)

        mParts.add(index, part);
    
public BodyPartgetBodyPart(int index)

        return mParts.get(index);
    
public java.lang.StringgetContentType()

        return mContentType;
    
public intgetCount()

        return mParts.size();
    
public PartgetParent()

        return mParent;
    
public booleanremoveBodyPart(BodyPart part)

        return mParts.remove(part);
    
public voidremoveBodyPart(int index)

        mParts.remove(index);
    
public voidsetParent(Part parent)

        this.mParent = parent;