gran.app.adapter.pop3
Class CleanPOP3Adapter

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

public class CleanPOP3Adapter
extends java.lang.Object
implements POP3Adapter


Constructor Summary
CleanPOP3Adapter()
           
 
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)
          parse message to body and attached file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanPOP3Adapter

public CleanPOP3Adapter()
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
parse message to body and attached file

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


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