public class Base64 extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Base64.InputStream |
static class |
Base64.OutputStream |
Modifier and Type | Field and Description |
---|---|
static boolean |
DECODE |
static boolean |
ENCODE |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(byte[] source,
int off,
int len) |
static byte[] |
decode(String s) |
static Object |
decodeToObject(String encodedObject) |
static String |
decodeToString(String s) |
static String |
encodeBytes(byte[] source,
boolean ignoreMaxLineLength) |
static String |
encodeBytes(byte[] source,
int off,
int len,
boolean ignoreMaxLineLength) |
static String |
encodeObject(Serializable serializableObject) |
static String |
encodeString(String s,
boolean ignoreMaxLineLength) |
public static final boolean ENCODE
public static final boolean DECODE
public static byte[] decode(String s)
s
- public static byte[] decode(byte[] source, int off, int len)
public static String encodeBytes(byte[] source, boolean ignoreMaxLineLength)
public static String encodeBytes(byte[] source, int off, int len, boolean ignoreMaxLineLength)
public static String encodeObject(Serializable serializableObject)
Copyright © 2024. All rights reserved.