net.proxy
Class BASE64Decoder

java.lang.Object
  extended by net.proxy.BASE64Decoder

public class BASE64Decoder
extends java.lang.Object

Utility class to do Base64 decoding, as defined by RFC 2045, section 6.8 (http://www.ietf.org/rfc/rfc2045.txt) Uses the same class and function names as Sun's implementation from sun.misc


Constructor Summary
BASE64Decoder()
           
 
Method Summary
 byte[] decodeBuffer(java.lang.String data)
          Decode an input String using Base64
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BASE64Decoder

public BASE64Decoder()
Method Detail

decodeBuffer

public byte[] decodeBuffer(java.lang.String data)
Decode an input String using Base64

Parameters:
data - The String to be decoded
Returns:
The appropriate byte array