org.apache.ws.jaxme.util
Class Base64Binary
java.lang.Objectorg.apache.ws.jaxme.util.Base64Binary
public class Base64Binary
extends java.lang.Object
A utility class for working with base64 encoding.
static byte[] | decode(String pValue)- Converts the string
pValue into a
base64 encoded byte array.
|
static String | encode(byte[] pValue)- Converts the base64 encoded byte array
pValue
into a string.
|
static byte[] | getClone(byte[] pValue)- Creates a clone of the byte array
pValue.
|
decode
public static byte[] decode(String pValue)
throws IOExceptionConverts the string pValue into a
base64 encoded byte array.
encode
public static String encode(byte[] pValue)
Converts the base64 encoded byte array pValue
into a string.
getClone
public static byte[] getClone(byte[] pValue)
Creates a clone of the byte array pValue.