|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.util.mime.MimeHelper
public class MimeHelper
class to create and write mime files
| Field Summary | |
|---|---|
protected int |
markSize
|
protected javax.mail.Multipart |
theMultipart
|
| Constructor Summary | |
|---|---|
MimeHelper()
|
|
MimeHelper(javax.mail.Multipart mp)
|
|
| Method Summary | |
|---|---|
BodyPartHelper |
getBodyPartHelper(int i)
|
javax.mail.BodyPart[] |
getBodyParts()
get all the parts of of a multipart an |
int |
getCount()
|
javax.mail.BodyPart |
getCreatePartByCID(String cid)
get the MIME BodyPart from a multiPart package with a given cid create one if it does not exist; |
int |
getMarkSize()
|
javax.mail.Multipart |
getMultiPart()
|
javax.mail.BodyPart |
getPartByCID(String cid)
get the MIME BodyPart from a multiPart package with a given cid |
BodyPartHelper |
getPartHelperByCID(String cid)
get the MIME BodyPart from a multiPart package with a given cid |
void |
setMarkSize(int markSize)
the maximum stream mark for resetting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.mail.Multipart theMultipart
protected int markSize
| Constructor Detail |
|---|
public MimeHelper()
public MimeHelper(javax.mail.Multipart mp)
mp - | Method Detail |
|---|
public int getCount()
public javax.mail.Multipart getMultiPart()
public javax.mail.BodyPart getCreatePartByCID(String cid)
cid - the cid of the requested bodypart
public javax.mail.BodyPart getPartByCID(String cid)
cid - the cid of the requested bodypart
public BodyPartHelper getPartHelperByCID(String cid)
cid - the cid of the requested bodypart
public BodyPartHelper getBodyPartHelper(int i)
i -
public javax.mail.BodyPart[] getBodyParts()
public int getMarkSize()
public void setMarkSize(int markSize)
markSize - the markSize to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||