Class Base64


  • public class Base64
    extends java.lang.Object
    Source: https://gist.github.com/EmilHernvall/953733#file-base64-java Due to Java version support issues with Datatypeconverter (<=1.7) class and Base64 (>=1.8) class.
    • Constructor Summary

      Constructors 
      Constructor Description
      Base64()  
    • Method Summary

      Modifier and Type Method Description
      static byte[] decode​(java.lang.String data)  
      static java.lang.String encode​(byte[] data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Base64

        public Base64()
    • Method Detail

      • encode

        public static java.lang.String encode​(byte[] data)
      • decode

        public static byte[] decode​(java.lang.String data)