public final class Base64
extends java.lang.Object
For internal use only.
Modifier and Type | Field and Description |
---|---|
static int |
DECODE
Specify decoding in first bit.
|
static int |
DO_BREAK_LINES
Do break lines when encoding.
|
static int |
ENCODE
Specify encoding in first bit.
|
static int |
NO_OPTIONS
No options specified.
|
static int |
ORDERED
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
|
static int |
URL_SAFE
Encode using Base64-like encoding that is URL- and Filename-safe as described in
Section 4 of RFC3548: http://www.faqs
.org/rfcs/rfc3548.html.
|
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] bytes) |
static byte[] |
encode(byte[] bytes) |
static boolean |
isBase64(byte[] bytes) |
public static final int NO_OPTIONS
public static final int ENCODE
public static final int DECODE
public static final int DO_BREAK_LINES
public static final int URL_SAFE
public static final int ORDERED