Class EncodingPreservingStreamWriter
- java.lang.Object
-
- com.levigo.jadice.server.mail.worker.internal.util.EncodingPreservingStreamWriter
-
public class EncodingPreservingStreamWriter extends Object
This stream writer is used to write single and double byte encoded input streams and additionally sets the correct Byte Order.
-
-
Constructor Summary
Constructors Constructor Description EncodingPreservingStreamWriter(ImageOutputStream out, String encoding)
This stream writer is used to write single and double byte encoded input streams and additionally sets the correct Byte Order.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(int ch)
This method allows to write characters to the image output stream.
-
-
-
Constructor Detail
-
EncodingPreservingStreamWriter
public EncodingPreservingStreamWriter(ImageOutputStream out, String encoding)
This stream writer is used to write single and double byte encoded input streams and additionally sets the correct Byte Order.
-
-
Method Detail
-
write
public void write(int ch) throws IOException
This method allows to write characters to the image output stream.- Parameters:
ch
- the character that shall be written.- Throws:
IOException
- - If data couldn't be written.
-
-