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
.
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
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.