Package org.apache.axiom.util.base64
Class AbstractBase64DecodingWriter
java.lang.Object
java.io.Writer
org.apache.axiom.util.base64.AbstractBase64DecodingWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
Base64DecodingOutputStreamWriter
Base class for
Writer
implementations that decode data in base64.-
Constructor Details
-
AbstractBase64DecodingWriter
public AbstractBase64DecodingWriter()
-
-
Method Details
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
doWrite
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.- 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
-