org.geotools.xml.impl
Class Base64Binary

Object
  extended by Base64Binary

public class Base64Binary
extends Object

A utility class for working with base64 encoding.


Constructor Summary
Base64Binary()
           
 
Method Summary
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.
 
Methods inherited from class 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(String pValue)
                     throws IOException
Converts the string pValue into a base64 encoded byte array.

Throws:
IOException

encode

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



Copyright © 1996-2014 Geotools. All Rights Reserved.