public final class Base64
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(byte[] token)
Decodes the specified token.
|
static java.lang.String |
decode(java.lang.String token)
Decodes the specified string.
|
static byte[] |
encode(byte[] token)
Encodes the specified token.
|
static java.lang.String |
encode(java.lang.String token)
Encodes the specified string.
|
public static java.lang.String encode(java.lang.String token)
token - value to be encodedpublic static byte[] encode(byte[] token)
token - value to be encodedpublic static java.lang.String decode(java.lang.String token)
token - value to be decodedpublic static byte[] decode(byte[] token)
token - value to be decoded