public class MimePart
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description | 
|---|---|
protected MimeHeader | 
header  | 
protected int | 
size  | 
| Constructor and Description | 
|---|
MimePart()
Constructs the MimePart. 
 | 
MimePart(MimeHeader header)
Constructs the MimePart. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addChild(MimePart child)
Add a Child MimePart to this MimePart. 
 | 
int | 
count()
Counts the number of unique MimeParts. 
 | 
int | 
countChilds()  | 
java.lang.Integer[] | 
getAddress()
Gets the address. 
 | 
MimePart | 
getChild(int nr)  | 
java.util.List<MimePart> | 
getChilds()  | 
MimeHeader | 
getHeader()  | 
int | 
getNumber(MimePart child)  | 
MimePart | 
getParent()
Returns the parent. 
 | 
int | 
getSize()  | 
boolean | 
isAlreadyEncoded()  | 
void | 
setHeader(MimeHeader h)
Method setHeader. 
 | 
void | 
setParent(MimePart parent)
Sets the parent. 
 | 
void | 
setSize(int size)
Set the Size in bytes. 
 | 
protected MimeHeader header
protected int size
public MimePart()
public MimePart(MimeHeader header)
header - public java.lang.Integer[] getAddress()
public MimePart getParent()
public void setParent(MimePart parent)
parent - The parent to setpublic int countChilds()
public MimePart getChild(int nr)
nr - public void addChild(MimePart child)
child - public int count()
public int getNumber(MimePart child)
child - public java.util.List<MimePart> getChilds()
public MimeHeader getHeader()
public void setHeader(MimeHeader h)
h - public void setSize(int size)
size - public int getSize()
public boolean isAlreadyEncoded()
Copyright © 2023. All Rights Reserved.