org.apache.james.util
Class Base64
java.lang.Object
org.apache.james.util.Base64
public class Base64
- extends java.lang.Object
Simple Base64 string decoding function
- Version:
- This is $Revision: 494012 $
Method Summary |
static java.io.BufferedReader |
decode(java.lang.String b64string)
|
static java.lang.String |
decodeAsString(java.lang.String b64string)
|
static java.io.ByteArrayOutputStream |
encode(java.lang.String plaintext)
|
static java.lang.String |
encodeAsString(java.lang.String plaintext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64
public Base64()
decode
public static java.io.BufferedReader decode(java.lang.String b64string)
throws java.lang.Exception
- Throws:
java.lang.Exception
decodeAsString
public static java.lang.String decodeAsString(java.lang.String b64string)
throws java.lang.Exception
- Throws:
java.lang.Exception
encode
public static java.io.ByteArrayOutputStream encode(java.lang.String plaintext)
throws java.lang.Exception
- Throws:
java.lang.Exception
encodeAsString
public static java.lang.String encodeAsString(java.lang.String plaintext)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.