|
||||||||||
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.MailAdapter
protected List computeActions()
public void addAction(org.apache.jsieve.mail.Action action)
addAction
in interface org.apache.jsieve.mail.MailAdapter
action
- The action to setpublic void executeActions() throws org.apache.jsieve.exception.SieveException
executeActions
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.exception.SieveException
MailAdapter.executeActions()
protected void setActions(List actions)
actions
- The actions to setprotected void updateActions()
public ListIterator getActionsIterator()
getActionsIterator
in interface org.apache.jsieve.mail.MailAdapter
MailAdapter.getActionsIterator()
public Object getContent() throws org.apache.jsieve.mail.SieveMailException
getContent
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
public String getContentType() throws org.apache.jsieve.mail.SieveMailException
getContentType
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
public List getHeader(String name) throws org.apache.jsieve.mail.SieveMailException
getHeader
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
MailAdapter.getHeader(String)
public List getHeaderNames() throws org.apache.jsieve.mail.SieveMailException
getHeaderNames
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
MailAdapter.getHeaderNames()
public List getMatchingHeader(String name) throws org.apache.jsieve.mail.SieveMailException
getMatchingHeader
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
MailAdapter.getMatchingHeader(String)
public int getSize() throws org.apache.jsieve.mail.SieveMailException
getSize
in interface org.apache.jsieve.mail.MailAdapter
org.apache.jsieve.mail.SieveMailException
MailAdapter.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.MailAdapter
org.apache.jsieve.mail.SieveMailException
org.apache.jsieve.exception.InternetAddressException
public 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 |