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:AbstractBase64DecodingWriter
Write 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:
doWrite
in 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:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-