- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- org.eclipse.angus.mail.util.QPEncoderStream
-
- org.eclipse.angus.mail.util.QEncoderStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class QEncoderStream extends QPEncoderStream
This class implements a Q Encoder as defined by RFC 2047 for encoding MIME headers. It subclasses the QPEncoderStream class.
-
-
Constructor Summary
Constructors Constructor Description QEncoderStream(java.io.OutputStream out, boolean encodingWord)Create a Q encoder that encodes the specified input stream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(int c)Encodes the specifiedbyteto this output stream.
-
-
-
Method Detail
-
write
public void write(int c) throws java.io.IOExceptionEncodes the specifiedbyteto this output stream.- Overrides:
writein classQPEncoderStream- Parameters:
c- thebyte.- Throws:
java.io.IOException- if an I/O error occurs.
-
-