org.opencrx.application.mail.importer
Class MailStore

java.lang.Object
  extended by org.opencrx.application.mail.importer.MailStore

public class MailStore
extends Object


Field Summary
static String DEFAULT_FOLDERNAME
           
static String IMAP_MODE
           
static String POP3_MODE
           
 
Constructor Summary
MailStore(MailImporterConfig config)
           
 
Method Summary
 void closeFolder()
           
 void closeStore()
          Finally close the store currently in use.
 Message[] getMessages()
           
 void openFolder(String name)
           
 void openStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POP3_MODE

public static final String POP3_MODE
See Also:
Constant Field Values

IMAP_MODE

public static final String IMAP_MODE
See Also:
Constant Field Values

DEFAULT_FOLDERNAME

public static final String DEFAULT_FOLDERNAME
See Also:
Constant Field Values
Constructor Detail

MailStore

public MailStore(MailImporterConfig config)
Method Detail

openStore

public void openStore()
               throws ServiceException
Throws:
ServiceException

getMessages

public Message[] getMessages()
                      throws MessagingException
Throws:
MessagingException

openFolder

public void openFolder(String name)
                throws ServiceException
Throws:
ServiceException

closeFolder

public void closeFolder()

closeStore

public void closeStore()
Finally close the store currently in use.



This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.