com.trackstudio.app.adapter.store
Class CleanStoreAdapter

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

public class CleanStoreAdapter
extends java.lang.Object
implements StoreAdapter

Clean Store Adapter


Constructor Summary
CleanStoreAdapter()
           
 
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

CleanStoreAdapter

public CleanStoreAdapter()
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

Parameters:
message - e-mail message
result - if true does nothing
Returns:
true if successful
Throws:
GranException


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