All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.webmacro.util.Base64

java.lang.Object
   |
   +----org.webmacro.util.Base64

public final class Base64
extends Object

Constructor Index

 o Base64()

Method Index

 o decode(byte[])
Ge tthe plain text version of a base64 encoded byte array
 o decode(String)
Get the plain text version of a base64 encoded string
 o encode(byte[])
Get the base64 encoded version of a plain text byte array
 o encode(String)
Get the base64 encoded version of a plain text String
 o main(String[])
Test harness

Constructors

 o Base64
 public Base64()

Methods

 o decode
 public static final String decode(String encoded)
Get the plain text version of a base64 encoded string

 o encode
 public static final String encode(String plainText)
Get the base64 encoded version of a plain text String

 o decode
 public static final String decode(byte encoded[])
Ge tthe plain text version of a base64 encoded byte array

 o encode
 public static final String encode(byte plain[])
Get the base64 encoded version of a plain text byte array

 o main
 public static void main(String arg[])
Test harness


All Packages  Class Hierarchy  This Package  Previous  Next  Index