public class SieveWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SieveWriter.Type |
Constructor and Description |
---|
SieveWriter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateSieveScript(SieveWriter.Type type,
ItemValue<Mailbox> mbox,
ItemValue<Domain> domain,
MailFilter filter) |
void |
write(ItemValue<Mailbox> mailbox,
ItemValue<Domain> domain,
MailFilter filter) |
void |
write(java.lang.String domainUid,
MailFilter filter) |
void |
write(java.lang.String domainUid,
MailFilter filter,
ItemValue<Server> server,
int count) |
public java.lang.String generateSieveScript(SieveWriter.Type type, ItemValue<Mailbox> mbox, ItemValue<Domain> domain, MailFilter filter) throws java.io.IOException, freemarker.template.TemplateException, ServerFault
java.io.IOException
freemarker.template.TemplateException
ServerFault
public void write(ItemValue<Mailbox> mailbox, ItemValue<Domain> domain, MailFilter filter) throws ServerFault
ServerFault
public void write(java.lang.String domainUid, MailFilter filter) throws ServerFault
ServerFault
public void write(java.lang.String domainUid, MailFilter filter, ItemValue<Server> server, int count) throws ServerFault
domainUid
- filter
- ServerFault
Copyright © 2021. All Rights Reserved.