org.apache.ws.jaxme.util
Class Base64Binary

java.lang.Object
  extended by org.apache.ws.jaxme.util.Base64Binary

public class Base64Binary
extends java.lang.Object

A utility class for working with base64 encoding.


Constructor Summary
Base64Binary()
           
 
Method Summary
static byte[] decode(java.lang.String pValue)
          Converts the string pValue into a base64 encoded byte array.
static java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Binary

public Base64Binary()
Method Detail

getClone

public static byte[] getClone(byte[] pValue)
Creates a clone of the byte array pValue.


decode

public static byte[] decode(java.lang.String pValue)
                     throws java.io.IOException
Converts the string pValue into a base64 encoded byte array.

Throws:
java.io.IOException

encode

public static java.lang.String encode(byte[] pValue)
Converts the base64 encoded byte array pValue into a string.