public class Base64 extends Object
Modifier and Type | Method and Description |
---|---|
static void |
decode(Reader rdr,
OutputStream out) |
static void |
decode(Reader rdr,
OutputStream out,
int maxLength) |
static byte[] |
decodeBase64(File file) |
static byte[] |
decodeBase64(InputStream in) |
static byte[] |
decodeBase64(InputStream in,
int maxLength) |
static byte[] |
decodeBase64(Reader rdr) |
static byte[] |
decodeBase64(Reader rdr,
int maxLength) |
static byte[] |
decodeBase64(String string) |
static void |
encode(File in,
Appendable sb) |
static void |
encode(InputStream in,
Appendable sb) |
static void |
encode(InputStream in,
Appendable sb,
int maxLength) |
static String |
encodeBase64(byte[] data) |
static String |
encodeBase64(File in) |
static String |
encodeBase64(InputStream in) |
static boolean |
isBase64(String value) |
Object |
toData() |
String |
toString() |
public Base64(byte[] data)
public Base64(String s)
public static final byte[] decodeBase64(String string)
public static byte[] decodeBase64(Reader rdr) throws IOException
IOException
public static byte[] decodeBase64(Reader rdr, int maxLength) throws IOException
IOException
public static byte[] decodeBase64(InputStream in) throws IOException
IOException
public static byte[] decodeBase64(InputStream in, int maxLength) throws IOException
IOException
public static final byte[] decodeBase64(File file) throws IOException
IOException
public static final void decode(Reader rdr, OutputStream out) throws IOException
IOException
public static final void decode(Reader rdr, OutputStream out, int maxLength) throws IOException
IOException
public static String encodeBase64(InputStream in) throws IOException
IOException
public static String encodeBase64(File in) throws IOException
IOException
public static String encodeBase64(byte[] data)
public Object toData()
public static void encode(File in, Appendable sb) throws IOException
IOException
public static void encode(InputStream in, Appendable sb) throws IOException
IOException
public static void encode(InputStream in, Appendable sb, int maxLength) throws IOException
IOException
public static boolean isBase64(String value)
Copyright © 2021 aQute SARL. All rights reserved.