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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64
public Base64()
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."