|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.AbstractAddFooter org.apache.james.transport.mailets.AddFooter
public class AddFooter
This mailet will attach text to the end of the message (like a footer). Right now it only supports simple messages without multiple parts.
Constructor Summary | |
---|---|
AddFooter()
|
Method Summary | |
---|---|
java.lang.String |
getFooterHTML()
This is exposed as a method for easy subclassing to provide alternate ways to get the footer text. |
java.lang.String |
getFooterText()
This is exposed as a method for easy subclassing to provide alternate ways to get the footer text. |
java.lang.String |
getMailetInfo()
Return a string describing this mailet. |
void |
init()
Initialize the mailet |
Methods inherited from class org.apache.james.transport.mailets.AbstractAddFooter |
---|
addToHTML, addToText, attachFooter, service |
Methods inherited from class org.apache.mailet.GenericMailet |
---|
destroy, getInitParameter, getInitParameter, getInitParameterNames, getMailetConfig, getMailetContext, getMailetName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddFooter()
Method Detail |
---|
public void init() throws javax.mail.MessagingException
init
in class GenericMailet
javax.mail.MessagingException
- if an exception occurs that interrupts the mailet's normal operationpublic java.lang.String getFooterText()
getFooterText
in class AbstractAddFooter
public java.lang.String getFooterHTML()
getFooterHTML
in class AbstractAddFooter
public java.lang.String getMailetInfo()
getMailetInfo
in interface Mailet
getMailetInfo
in class GenericMailet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |