public class Base64DecodingOutputStreamWriter extends AbstractBase64DecodingWriter
Writer implementation that decodes base64 data and writes it
to a an OutputStream.| Modifier and Type | Field and Description |
|---|---|
private java.io.OutputStream |
stream |
| Constructor and Description |
|---|
Base64DecodingOutputStreamWriter(java.io.OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doWrite(byte[] b,
int len)
Write base64 decoded data.
|
void |
flush() |
write, write, writepublic Base64DecodingOutputStreamWriter(java.io.OutputStream stream)
protected void doWrite(byte[] b,
int len)
throws java.io.IOException
AbstractBase64DecodingWriterdoWrite in class AbstractBase64DecodingWriterb - the byte array containing the data to write, starting at
offset 0len - the number of bytes to writejava.io.IOException - if an I/O error occurspublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Writerjava.io.IOException