|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.gateway.JavaMailImporter
com.jivesoftware.forum.gateway.NewsgroupImporter.NNTPImporter
protected class NewsgroupImporter.NNTPImporter
An extension of the JavaMailGateway class
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jivesoftware.forum.gateway.JavaMailImporter |
---|
JavaMailImporter.InsertCacheItem |
Nested classes/interfaces inherited from interface com.jivesoftware.forum.gateway.GatewayImporter |
---|
GatewayImporter.Stats |
Field Summary | |
---|---|
protected javax.mail.Session |
session
|
Fields inherited from class com.jivesoftware.forum.gateway.JavaMailImporter |
---|
emptySubject, factory, failedMessageIDs, forumID, gatewayMessageId, gatewayParentId, MESSAGE_DATE_HEADER, parentMessageIDs, stopFlag, SUBJECT_EXTENDED_PROPERTY, subjectParentageCheckEnabled, temporaryParentBody |
Method Summary | |
---|---|
protected void |
cleanup()
Overridden so that we save the latest article number for the next run and create a task to reattempt to import any messages which failed to be imported in this run. |
protected java.lang.String |
getMessageID(javax.mail.Message message)
Overridden so that we can grab the article number from the provider. |
java.lang.String |
getProtocol()
Get the protocol. |
protected javax.mail.Store |
getStore(java.util.Date afterDate)
Override base class to set a system property and then get the JavaMail store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.mail.Session session
Method Detail |
---|
public java.lang.String getProtocol()
JavaMailImporter
getProtocol
in class JavaMailImporter
protected javax.mail.Store getStore(java.util.Date afterDate) throws javax.mail.MessagingException
getStore
in class JavaMailImporter
afterDate
- the date after which we'll import a message.
javax.mail.MessagingException
- if error occurred establishing the connection.protected java.lang.String getMessageID(javax.mail.Message message) throws javax.mail.MessagingException
getMessageID
in class JavaMailImporter
message
- the JavaMail message.
javax.mail.MessagingException
- if an error occurred trying to retrieve the messageID.protected void cleanup()
cleanup
in class JavaMailImporter
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |