|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.mailet.base.GenericMailet org.apache.james.transport.mailets.RemoveMimeHeader
public class RemoveMimeHeader
Remove mime headers Sample configuration:
<mailet match="All" class="RemoveMimeHeader">
<name>header1</name>
<name>header2</name>
</mailet>
Constructor Summary | |
---|---|
RemoveMimeHeader()
|
Method Summary | |
---|---|
java.lang.String |
getMailetInfo()
|
void |
init()
|
void |
service(Mail mail)
|
Methods inherited from class org.apache.mailet.base.GenericMailet |
---|
arrayToString, checkInitParameters, destroy, getInitParameter, 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 RemoveMimeHeader()
Method Detail |
---|
public void init() throws MailetException
init
in class GenericMailet
MailetException
GenericMailet
public void service(Mail mail)
service
in interface Mailet
service
in class GenericMailet
GenericMailet
public java.lang.String getMailetInfo()
getMailetInfo
in interface Mailet
getMailetInfo
in class GenericMailet
GenericMailet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |