com.trackstudio.app.adapter.store
Class PostProcessingStoreAdapter

java.lang.Object
  extended by com.trackstudio.app.adapter.store.PostProcessingStoreAdapter
All Implemented Interfaces:
Adapter, StoreAdapter

public class PostProcessingStoreAdapter
extends java.lang.Object
implements StoreAdapter

PostProcessing Store Adapter. Forward e-mail messages.


Constructor Summary
PostProcessingStoreAdapter()
           
 
Method Summary
 java.lang.String getDescription()
          Adapter's description
 boolean init()
          Initialize adapter.
 boolean processImpl(javax.mail.internet.MimeMessage message, boolean result)
          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

PostProcessingStoreAdapter

public PostProcessingStoreAdapter()
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()
Adapter's description

Specified by:
getDescription in interface Adapter
Returns:
adapter's description

processImpl

public boolean processImpl(javax.mail.internet.MimeMessage message,
                           boolean result)
                    throws GranException
Parse message to body and attached file,

Specified by:
processImpl in interface StoreAdapter
Parameters:
message - e-mail message
result - if true does nothing
Returns:
true if successful
Throws:
GranException


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