public class Base64Utils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASE16_ENCODING |
static String |
BASE64_ENCODING |
static char |
PAD |
static String |
REGEX |
Constructor and Description |
---|
Base64Utils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
fromb64(String str) |
static String |
tob64(byte[] buffer) |
static String |
tob64(byte[] buffer,
boolean usePadding) |
public static final String BASE64_ENCODING
public static final String BASE16_ENCODING
public static final char PAD
public static final String REGEX
public static String tob64(byte[] buffer)
public static String tob64(byte[] buffer, boolean usePadding)
public static byte[] fromb64(String str) throws NumberFormatException
NumberFormatException
Copyright © 2019 JBoss by Red Hat. All rights reserved.