org.apache.james.util
Class Base64

java.lang.Object
  |
  +--org.apache.james.util.Base64

public class Base64
extends Object

Simple Base64 string decoding function

Version:
This is $Revision: 1.9 $
Author:
Jason Borden

Constructor Summary
Base64()
           
 
Method Summary
static BufferedReader decode(String b64string)
           
static String decodeAsString(String b64string)
           
static ByteArrayOutputStream encode(String plaintext)
           
static String encodeAsString(String plaintext)
           
 
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

decode

public static BufferedReader decode(String b64string)
                             throws Exception
Exception

decodeAsString

public static String decodeAsString(String b64string)
                             throws Exception
Exception

encode

public static ByteArrayOutputStream encode(String plaintext)
                                    throws Exception
Exception

encodeAsString

public static String encodeAsString(String plaintext)
                             throws Exception
Exception


"Copyright © 1999-2002 Apache Jakarta Project. All Rights Reserved."