public class James23Importer extends Object implements LogEnabled
Constructor and Description |
---|
James23Importer() |
Modifier and Type | Method and Description |
---|---|
void |
importMailsFromJames23(String james23MailRepositoryPath)
Import 2.3 mails to 3.0 mails.
|
void |
importUsersAndMailsFromJames23(String james23MailRepositoryPath,
String defaultPassword)
Import 2.3 users to 3.0 users (taking virtualDomains into account)
Import 2.3 mails to 3.0 mails. |
void |
importUsersFromJames23(String defaultPassword)
Import 2.3 users to 3.0 users (taking virtualDomains into account)
|
void |
setLog(org.slf4j.Logger log)
Sets the service log.
|
public void importUsersAndMailsFromJames23(String james23MailRepositoryPath, String defaultPassword) throws MailRepositoryStore.MailRepositoryStoreException, javax.mail.MessagingException, UsersRepositoryException, DomainListException, org.apache.james.mailbox.exception.MailboxException, IOException
MailRepositoryStore.MailRepositoryStoreException
javax.mail.MessagingException
UsersRepositoryException
DomainListException
IOException
org.apache.james.mailbox.exception.MailboxException
public void importUsersFromJames23(String defaultPassword) throws javax.mail.MessagingException, UsersRepositoryException, DomainListException
defaultPassword
- javax.mail.MessagingException
UsersRepositoryException
DomainListException
public void importMailsFromJames23(String james23MailRepositoryPath) throws javax.mail.MessagingException, MailRepositoryStore.MailRepositoryStoreException, UsersRepositoryException, org.apache.james.mailbox.exception.MailboxException, IOException, DomainListException
james23MailRepositoryPath
- the 2.3 mail repository path to import from e.g.
file://var/mail/inboxesjavax.mail.MessagingException
MailRepositoryStore.MailRepositoryStoreException
UsersRepositoryException
IOException
org.apache.james.mailbox.exception.MailboxException
DomainListException
public void setLog(org.slf4j.Logger log)
LogEnabled
setLog
in interface LogEnabled
log
- not nullLogEnabled.setLog(org.slf4j.Logger)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.