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: 365582 $
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
- Throws:
Exception
decodeAsString
public static String decodeAsString(String b64string)
throws Exception
- Throws:
Exception
encode
public static ByteArrayOutputStream encode(String plaintext)
throws Exception
- Throws:
Exception
encodeAsString
public static String encodeAsString(String plaintext)
throws Exception
- Throws:
Exception
"Copyright © 1999-2006 Apache Jakarta Project. All Rights Reserved."