Package io.jmix.imap.impl
Class ImapHelper
java.lang.Object
io.jmix.imap.impl.ImapHelper
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ImapHelper.Body
protected ImapDataProvider
protected ImapStoreBuilder
protected final ConcurrentMap<UUID,
Boolean> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.angus.mail.imap.IMAPStore
buildStore
(ImapMailBox box) protected org.eclipse.angus.mail.imap.IMAPStore
buildStore
(ImapMailBox box, String password) getBody
(jakarta.mail.Message message) protected ImapHelper.Body
getMultipartBody
(jakarta.mail.Part p) protected ImapHelper.Body
getSinglePartBody
(jakarta.mail.Part p) org.eclipse.angus.mail.imap.IMAPStore
getStore
(ImapMailBox box) jakarta.mail.Flags
jmixFlags
(ImapMailBox mailBox)
-
Field Details
-
supportThreading
-
imapStoreBuilder
-
imapDataProvider
-
EMPTY
-
-
Constructor Details
-
ImapHelper
public ImapHelper()
-
-
Method Details
-
getStore
public org.eclipse.angus.mail.imap.IMAPStore getStore(ImapMailBox box) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
jmixFlags
-
getBody
public ImapHelper.Body getBody(jakarta.mail.Message message) throws jakarta.mail.MessagingException, IOException - Throws:
jakarta.mail.MessagingException
IOException
-
getMultipartBody
protected ImapHelper.Body getMultipartBody(jakarta.mail.Part p) throws jakarta.mail.MessagingException, IOException - Throws:
jakarta.mail.MessagingException
IOException
-
getSinglePartBody
protected ImapHelper.Body getSinglePartBody(jakarta.mail.Part p) throws jakarta.mail.MessagingException, IOException - Throws:
jakarta.mail.MessagingException
IOException
-
buildStore
protected org.eclipse.angus.mail.imap.IMAPStore buildStore(ImapMailBox box) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
buildStore
protected org.eclipse.angus.mail.imap.IMAPStore buildStore(ImapMailBox box, String password) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-