Package io.jmix.imap.impl
Class ImapHelper
java.lang.Object
io.jmix.imap.impl.ImapHelper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ImapHelper.Bodyprotected ImapDataProviderprotected ImapStoreBuilderprotected final ConcurrentMap<UUID,Boolean> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.sun.mail.imap.IMAPStorebuildStore(ImapMailBox box) protected com.sun.mail.imap.IMAPStorebuildStore(ImapMailBox box, String password) getBody(javax.mail.Message message) protected ImapHelper.BodygetMultipartBody(javax.mail.Part p) protected ImapHelper.BodygetSinglePartBody(javax.mail.Part p) com.sun.mail.imap.IMAPStoregetStore(ImapMailBox box) javax.mail.FlagsjmixFlags(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.MessagingExceptionIOException
-
getMultipartBody
protected ImapHelper.Body getMultipartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingExceptionIOException
-
getSinglePartBody
protected ImapHelper.Body getSinglePartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException - Throws:
javax.mail.MessagingExceptionIOException
-
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
-