|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hs.mail.sieve.SieveMailAdapter
public class SieveMailAdapter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.jsieve.mail.MailAdapter |
|---|
org.apache.jsieve.mail.MailAdapter.Address |
| Constructor Summary | |
|---|---|
SieveMailAdapter(MailetContext aMailetContext,
String soleRecipient,
long soleRecipientID)
Constructor for SieveMailAdapter. |
|
| Method Summary | |
|---|---|
void |
addAction(org.apache.jsieve.mail.Action action)
Adds an Action. |
protected List |
computeActions()
Returns a new List of actions. |
void |
executeActions()
|
List |
getActions()
Returns the List of actions. |
ListIterator |
getActionsIterator()
|
Object |
getContent()
|
String |
getContentType()
|
List |
getHeader(String name)
|
List |
getHeaderNames()
|
MailetContext |
getMailetContext()
Returns the mailetContext. |
List |
getMatchingHeader(String name)
|
SmtpMessage |
getMessage()
|
int |
getSize()
|
String |
getSoleRecipient()
|
long |
getSoleRecipientID()
|
org.apache.jsieve.mail.MailAdapter.Address[] |
parseAddresses(String headerName)
|
protected void |
setActions(List actions)
Sets the actions. |
protected void |
setMailetContext(MailetContext mailetContext)
Sets the mailetContext. |
void |
setMessage(SmtpMessage aMessage)
|
void |
setSoleRecipient(String soleRecipient)
|
void |
setSoleRecipientID(long soleRecipientID)
|
protected void |
updateActions()
Updates the actions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SieveMailAdapter(MailetContext aMailetContext,
String soleRecipient,
long soleRecipientID)
| Method Detail |
|---|
public SmtpMessage getMessage()
public void setMessage(SmtpMessage aMessage)
fieldMessage - The fieldMessage to set.public String getSoleRecipient()
public void setSoleRecipient(String soleRecipient)
soleRecipient - The soleRecipient to set.public long getSoleRecipientID()
public void setSoleRecipientID(long soleRecipientID)
soleRecipientID - The ID of soleRecipient to set.public List getActions()
getActions in interface org.apache.jsieve.mail.MailAdapterprotected List computeActions()
public void addAction(org.apache.jsieve.mail.Action action)
addAction in interface org.apache.jsieve.mail.MailAdapteraction - The action to set
public void executeActions()
throws org.apache.jsieve.exception.SieveException
executeActions in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.exception.SieveExceptionMailAdapter.executeActions()protected void setActions(List actions)
actions - The actions to setprotected void updateActions()
public ListIterator getActionsIterator()
getActionsIterator in interface org.apache.jsieve.mail.MailAdapterMailAdapter.getActionsIterator()
public Object getContent()
throws org.apache.jsieve.mail.SieveMailException
getContent in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailException
public String getContentType()
throws org.apache.jsieve.mail.SieveMailException
getContentType in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailException
public List getHeader(String name)
throws org.apache.jsieve.mail.SieveMailException
getHeader in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailExceptionMailAdapter.getHeader(String)
public List getHeaderNames()
throws org.apache.jsieve.mail.SieveMailException
getHeaderNames in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailExceptionMailAdapter.getHeaderNames()
public List getMatchingHeader(String name)
throws org.apache.jsieve.mail.SieveMailException
getMatchingHeader in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailExceptionMailAdapter.getMatchingHeader(String)
public int getSize()
throws org.apache.jsieve.mail.SieveMailException
getSize in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailExceptionMailAdapter.getSize()
public org.apache.jsieve.mail.MailAdapter.Address[] parseAddresses(String headerName)
throws org.apache.jsieve.mail.SieveMailException,
org.apache.jsieve.exception.InternetAddressException
parseAddresses in interface org.apache.jsieve.mail.MailAdapterorg.apache.jsieve.mail.SieveMailException
org.apache.jsieve.exception.InternetAddressExceptionpublic MailetContext getMailetContext()
protected void setMailetContext(MailetContext mailetContext)
mailetContext - The mailetContext to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||