Package org.apache.axiom.util.base64
Class Base64DecodingOutputStreamWriter
java.lang.Object
java.io.Writer
org.apache.axiom.util.base64.AbstractBase64DecodingWriter
org.apache.axiom.util.base64.Base64DecodingOutputStreamWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Writer implementation that decodes base64 data and writes it
to a an OutputStream.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.axiom.util.base64.AbstractBase64DecodingWriter
write, write, write
-
Constructor Details
-
Base64DecodingOutputStreamWriter
-
-
Method Details
-
doWrite
Description copied from class:AbstractBase64DecodingWriterWrite base64 decoded data. If necessary, the implementation should accumulate the data in a buffer before writing it to the underlying stream. The maximum number of bytes passed to this method in a single call is 3.- Specified by:
doWritein classAbstractBase64DecodingWriter- Parameters:
b- the byte array containing the data to write, starting at offset 0len- the number of bytes to write- Throws:
IOException- if an I/O error occurs
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-