Package org.apache.james.mime4j.dom
Interface MessageWriter
-
- All Known Implementing Classes:
DefaultMessageWriter
public interface MessageWriterAn interface to write out content ofMessageand other DOM elements to anOutputStream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteBody(Body body, OutputStream out)voidwriteEntity(Entity entity, OutputStream out)voidwriteField(Field field, OutputStream out)voidwriteHeader(Header header, OutputStream out)voidwriteMessage(Message message, OutputStream out)voidwriteMultipart(Multipart multipart, OutputStream out)
-
-
-
Method Detail
-
writeMessage
void writeMessage(Message message, OutputStream out) throws IOException
- Throws:
IOException
-
writeBody
void writeBody(Body body, OutputStream out) throws IOException
- Throws:
IOException
-
writeEntity
void writeEntity(Entity entity, OutputStream out) throws IOException
- Throws:
IOException
-
writeMultipart
void writeMultipart(Multipart multipart, OutputStream out) throws IOException
- Throws:
IOException
-
writeField
void writeField(Field field, OutputStream out) throws IOException
- Throws:
IOException
-
writeHeader
void writeHeader(Header header, OutputStream out) throws IOException
- Throws:
IOException
-
-