|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface MessageResult.Content
IMAP needs to know the size of the content before it starts to write it out. This interface allows direct writing whilst exposing total size.
| Method Summary | |
|---|---|
long |
size()
Size (in octets) of the content. |
void |
writeTo(java.lang.StringBuffer buffer)
Writes content into the given buffer. |
void |
writeTo(java.nio.channels.WritableByteChannel channel)
Writes content to the given channel. |
| Method Detail |
|---|
void writeTo(java.lang.StringBuffer buffer)
buffer - StringBuffer, not null
javax.mail.MessagingException
void writeTo(java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
channel - Channel open, not null
MailboxManagerException
java.io.IOException - when channel IO failslong size()
javax.mail.MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||