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, java.io.OutputStream out)voidwriteEntity(Entity entity, java.io.OutputStream out)voidwriteField(Field field, java.io.OutputStream out)voidwriteHeader(Header header, java.io.OutputStream out)voidwriteMessage(Message message, java.io.OutputStream out)voidwriteMultipart(Multipart multipart, java.io.OutputStream out)
-
-
-
Method Detail
-
writeMessage
void writeMessage(Message message, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeBody
void writeBody(Body body, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeEntity
void writeEntity(Entity entity, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeMultipart
void writeMultipart(Multipart multipart, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeField
void writeField(Field field, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeHeader
void writeHeader(Header header, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-