public class XmlSafeEntityBuilder extends DefaultEntityBuilder
ContentHandler
that rewrites parts encoding to quoted
printable (texts) & base64 (binary bodies) so the message is safe to include
in XML.Constructor and Description |
---|
XmlSafeEntityBuilder(org.apache.james.mime4j.dom.Entity entity,
org.apache.james.mime4j.message.BodyFactory bodyFactory) |
Modifier and Type | Method and Description |
---|---|
void |
postBody(org.apache.james.mime4j.dom.Entity entity,
org.apache.james.mime4j.stream.BodyDescriptor bd,
org.apache.james.mime4j.dom.Body b)
Called once the
Body b has been |
body, endBodyPart, endHeader, endMessage, endMultipart, epilogue, field, getBodyFactory, postMultipart, preamble, preMultipart, raw, startBodyPart, startHeader, startMessage, startMultipart
public XmlSafeEntityBuilder(org.apache.james.mime4j.dom.Entity entity, org.apache.james.mime4j.message.BodyFactory bodyFactory)
public void postBody(org.apache.james.mime4j.dom.Entity entity, org.apache.james.mime4j.stream.BodyDescriptor bd, org.apache.james.mime4j.dom.Body b)
DefaultEntityBuilder
Body
b has beenpostBody
in class DefaultEntityBuilder
Copyright © 2021. All Rights Reserved.