Class QuotedPrintableOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.james.mime4j.codec.QuotedPrintableOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class QuotedPrintableOutputStream extends FilterOutputStream
Performs Quoted-Printable encoding on an underlying stream. Encodes every "required" char plus the dot ".". We encode the dot by default because this is a workaround for some "filter"/"antivirus" "old mua" having issues with dots at the beginning or the end of a qp encode line (maybe a bad dot-destuffing algo).