Class Base64Binary


  • public class Base64Binary
    extends Object
    A utility class for working with base64 encoding.
    See Also:
    Base64
    • Constructor Summary

      Constructors 
      Constructor Description
      Base64Binary()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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.