@FunctionalInterface
public interface MailSaverInterface
| Modifier and Type | Method and Description |
|---|---|
void |
saveEmailAndNotify(java.lang.String from,
java.lang.String to,
java.io.InputStream data)
Saves incoming email in file system and notifies observers.
|
void saveEmailAndNotify(java.lang.String from,
java.lang.String to,
java.io.InputStream data)
from - the user who send the email.to - the recipient of the email.data - an InputStream object containing the email.to see which observers will be notified