public final class Base64 extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] bytes)
Base64 encodes the specified bytes.
|
static String |
encode(String string)
Base64 encodes the specified string using the platform's default encoding.
|
static byte[] |
encodeBase64(byte[] bytes)
Base64 encodes the specified bytes.
|
public static byte[] encodeBase64(byte[] bytes)
bytes - the bytes to encodepublic static String encode(String string)
string - the string to encodepublic static byte[] encode(byte[] bytes)
bytes - the bytes to encodeCopyright © 2004-2013 Codehaus. All Rights Reserved.