blob: c8c28360ed6cd0b7bccd97705adfbfbdd503d91c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.libmailcore;
/** Callbacks to provide IMAP data for message rendering. */
public interface HTMLRendererIMAPCallback {
/**
Called when the data for the given part are needed. The implementation
should return the data of the part or returns nil if the data is
not available.
*/
byte[] dataForIMAPPart(String folder, IMAPPart part);
/** Called when the given text part should be fetched. */
void prefetchAttachmentIMAPPart(String folder, IMAPPart part);
/** Called when the given image should be fetched. */
void prefetchImageIMAPPart(String folder, IMAPPart part);
}
|