rabbit.util
Class Base64

java.lang.Object
  extended by rabbit.util.Base64

public class Base64
extends java.lang.Object

This class encodes/decodes stuff to/from the web.


Method Summary
static java.lang.String decode(java.lang.String base64string)
          uudecode(base64) the given string.
static java.lang.String encode(java.lang.String str)
          uuencode(base64) the given String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static java.lang.String decode(java.lang.String base64string)
uudecode(base64) the given string. useful for decoding basic Authentication

Parameters:
base64string - the String to decode.
Returns:
the decoded string.

encode

public static java.lang.String encode(java.lang.String str)
uuencode(base64) the given String. useful for encoding basic authentication.

Parameters:
str - the String to encode.
Returns:
the encoded string.