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 com.sun.mail.imap.IMAPStore
buildStore
(ImapMailBox box) protected com.sun.mail.imap.IMAPStore
buildStore
(ImapMailBox box, String password) getBody
(javax.mail.Message message) protected ImapHelper.Body
getMultipartBody
(javax.mail.Part p) protected ImapHelper.Body
getSinglePartBody
(javax.mail.Part p) com.sun.mail.imap.IMAPStore
getStore
(ImapMailBox box) javax.mail.Flags
jmixFlags
(ImapMailBox mailBox)
-
Field Details
-
supportThreading
-
imapStoreBuilder
-
imapDataProvider
-
EMPTY
-
-
Constructor Details
-
ImapHelper
public ImapHelper()
-
-
Method Details
-
getStore
- Throws:
javax.mail.MessagingException
-
jmixFlags
-
getBody
public ImapHelper.Body getBody(javax.mail.Message message) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingException
IOException
-
getMultipartBody
protected ImapHelper.Body getMultipartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingException
IOException
-
getSinglePartBody
protected ImapHelper.Body getSinglePartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingException
IOException
-
buildStore
protected com.sun.mail.imap.IMAPStore buildStore(ImapMailBox box) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-
buildStore
protected com.sun.mail.imap.IMAPStore buildStore(ImapMailBox box, String password) throws javax.mail.MessagingException - Throws:
javax.mail.MessagingException
-