com.quartzdesk.api.common.encoding
Class BASE64Encoder
java.lang.Object
com.quartzdesk.api.common.encoding.BASE64Encoder
public final class BASE64Encoder
- extends Object
This is a utility class which is used to encode a byte array into a MIME
BASE64 encoded string. For further information about MIME BASE64 encoding,
see RFC2045.
- Version:
- $Id:$
- Author:
- Jan Moravec
|
Method Summary |
static String |
encode(byte[] bytes)
Encodes a byte array into MIME BASE64 encoded string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encode
public static String encode(byte[] bytes)
- Encodes a byte array into MIME BASE64 encoded string.
- Parameters:
bytes - the array of bytes to be encoded.
- Returns:
- the MIME BASE64 encoded string.
Copyright © 2013–2017 QuartzDesk.com. All rights reserved.