net.commerce.zocalo.user
Class Base64

java.lang.Object
  extended by net.commerce.zocalo.user.Base64

public class Base64
extends java.lang.Object

Encodes and decodes to and from Base64 notation.

Change Log:

I am placing this code in the Public Domain. Do with it as you will. This software comes with no guarantees or warranties but with plenty of well-wishing instead! Please visit http://iharder.net/base64 periodically to check for updates or to contribute improvements.

Version:
2.1
Author:
Robert Harder, rob@iharder.net

Constructor Summary
Base64()
           
 
Method Summary
static java.lang.String encodeBytes(byte[] source)
          Encodes a byte array into Base64 notation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64

public Base64()
Method Detail

encodeBytes

public static java.lang.String encodeBytes(byte[] source)
Encodes a byte array into Base64 notation. Does not GZip-compress data.

Parameters:
source - The data to convert
Since:
1.4