public static class MessageBody.Part
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address |
java.lang.String |
charset |
java.util.List<MessageBody.Part> |
children
Parts with a multipart/...
|
byte[] |
content |
java.lang.String |
contentId |
DispositionType |
dispositionType |
java.lang.String |
encoding |
java.lang.String |
fileName |
java.util.List<MessageBody.Header> |
headers |
java.lang.String |
mime |
int |
size
Only for leaf parts
|
Constructor and Description |
---|
Part() |
Modifier and Type | Method and Description |
---|---|
java.util.List<MessageBody.Part> |
attachments() |
static MessageBody.Part |
create(java.lang.String file,
java.lang.String mime,
java.lang.String addr) |
static MessageBody.Part |
create(java.lang.String file,
java.lang.String mime,
java.lang.String addr,
int size) |
boolean |
hasRealAttachments() |
java.util.List<MessageBody.Part> |
inlineAttachments() |
java.util.List<MessageBody.Part> |
nonInlineAttachments() |
java.lang.String |
toString() |
public java.lang.String mime
public java.lang.String address
public java.lang.String encoding
public java.lang.String charset
public java.lang.String fileName
public java.util.List<MessageBody.Header> headers
public java.lang.String contentId
public java.util.List<MessageBody.Part> children
public int size
public DispositionType dispositionType
public byte[] content
public java.lang.String toString()
toString
in class java.lang.Object
public static MessageBody.Part create(java.lang.String file, java.lang.String mime, java.lang.String addr)
public static MessageBody.Part create(java.lang.String file, java.lang.String mime, java.lang.String addr, int size)
public boolean hasRealAttachments()
public java.util.List<MessageBody.Part> attachments()
public java.util.List<MessageBody.Part> nonInlineAttachments()
public java.util.List<MessageBody.Part> inlineAttachments()
Copyright © 2021. All Rights Reserved.