Package org.apache.james.mime4j.dom
Interface MessageWriter
- All Known Implementing Classes:
DefaultMessageWriter
public interface MessageWriter
An interface to write out content of
Message
and other DOM elements to
an OutputStream
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeBody
(Body body, OutputStream out) void
writeEntity
(Entity entity, OutputStream out) void
writeField
(Field field, OutputStream out) void
writeHeader
(Header header, OutputStream out) void
writeMessage
(Message message, OutputStream out) void
writeMultipart
(Multipart multipart, OutputStream out)
-
Method Details
-
writeMessage
- Throws:
IOException
-
writeBody
- Throws:
IOException
-
writeEntity
- Throws:
IOException
-
writeMultipart
- Throws:
IOException
-
writeField
- Throws:
IOException
-
writeHeader
- Throws:
IOException
-