gran.app.adapter.pop3
Class MailImportTaskPOP3Adapter

java.lang.Object
  extended bygran.app.adapter.pop3.MailImportTaskPOP3Adapter
All Implemented Interfaces:
Adapter, POP3Adapter

public class MailImportTaskPOP3Adapter
extends java.lang.Object
implements POP3Adapter


Constructor Summary
MailImportTaskPOP3Adapter()
           
 
Method Summary
 java.lang.String getDescription()
          Get description of adapter as plain text
 boolean init()
          Initialize adapter.
 boolean processImpl(javax.mail.internet.MimeMessage currentMessage, boolean res)
          Import e-mail message into system
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailImportTaskPOP3Adapter

public MailImportTaskPOP3Adapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

processImpl

public boolean processImpl(javax.mail.internet.MimeMessage currentMessage,
                           boolean res)
                    throws GranException
Description copied from interface: POP3Adapter
Import e-mail message into system

Specified by:
processImpl in interface POP3Adapter
Parameters:
currentMessage - e-mail message
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.