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, write
public Base64DecodingOutputStreamWriter(OutputStream stream)
protected void doWrite(byte[] b, int len) throws IOException
AbstractBase64DecodingWriter
doWrite
in class AbstractBase64DecodingWriter
b
- 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 Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.