public class Base64DecodingOutputStreamWriter extends AbstractBase64DecodingWriter
Writer
implementation that decodes base64 data and writes it
to a an OutputStream
.Constructor and Description |
---|
Base64DecodingOutputStreamWriter(OutputStream stream) |
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-2013 The Apache Software Foundation. All Rights Reserved.