org.abstracthorizon.mercury.imap.util
Class Base64
java.lang.Object
org.abstracthorizon.mercury.imap.util.Base64
public class Base64
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sixToEight
protected static char[] sixToEight
eightToSix
protected static int[] eightToSix
Base64
public Base64()
encode
public static String encode(String s)
- Encodes string in base 64 manner
- Parameters:
s
- string to be encoded
- Returns:
- encoded string
decode
public static String decode(String s)
- Decodes base 64 string
- Parameters:
s
- string in base 64 code
- Returns:
- decoded string
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.