public final class Base64
extends java.lang.Object
Provides Base64 encoding and decoding.
This class implements Base64 encoding
Thanks to Apache Commons project. This class refactored from org.apache.commons.codec.binary
Original Thanks to commons project in ws.apache.org for this code.
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(java.lang.String s)
Decodes the given Base64-encoded string.
|
static java.lang.String |
encode(byte[] in)
Encodes the given byte array into a Base64-encoded string.
|
public static byte[] decode(java.lang.String s)
s
- the Base64-encoded stringpublic static java.lang.String encode(byte[] in)
in
- the byte arrayCopyright © 2010 - 2020 Adobe. All Rights Reserved