public class Base64DecodingOutputStreamWriter extends AbstractBase64DecodingWriter
Writer implementation that decodes base64 data and writes it
to a an OutputStream.| Constructor and Description |
|---|
Base64DecodingOutputStreamWriter(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(OutputStream stream)
protected void doWrite(byte[] b,
int len)
throws IOException
AbstractBase64DecodingWriterdoWrite in class AbstractBase64DecodingWriterb - the byte array containing the data to write, starting at
offset 0len - the number of bytes to writeIOException - if an I/O error occurspublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © The Apache Software Foundation. All Rights Reserved.