org.exolab.castor.util
Class MimeBase64Decoder
java.lang.Object
org.exolab.castor.util.MimeBase64Decoder
public final class MimeBase64Decoder
extends java.lang.Object
Base 64 text to byte decoded. To produce the binary array from
base 64 encoding call
translate
for each sequence of
characters and
getByteArray()
to mark closure of the
character stream and retrieve the binary contents.
- Based on code from the Mozilla Directory SDK
getByteArray
public byte[] getByteArray()
translate
public final void translate(String str)
translate
public final void translate(char[] ch,
int offset,
int length)
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com