Package org.apache.james.mime4j.codec
Class QuotedPrintableOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.james.mime4j.codec.QuotedPrintableOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
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).
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
ConstructorsConstructorDescriptionQuotedPrintableOutputStream(int bufsize, OutputStream out, boolean binary) QuotedPrintableOutputStream(OutputStream out, boolean binary) -
Method Summary
Methods inherited from class java.io.FilterOutputStream
write
-
Constructor Details
-
QuotedPrintableOutputStream
-
QuotedPrintableOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-