org.exolab.castor.util

Class 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.
Author:
Based on code from the Mozilla Directory SDK

Method Summary

byte[]
getByteArray()
void
translate(String str)
void
translate(char[] ch, int offset, int length)

Method Details

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