public class Base64Helper
extends Object
Base64Helper exists to bridge gaps between Java SE platform support of Base64 encoding and decoding.
Earlier Java SE platforms (up to and including Java SE 8) supported base64 encode/decode via the
javax.xml.bind.DatatypeConverter class, which was deprecated and eventually removed in Java SE 9.
Later Java SE platforms Java SE 8 and later support supported base64 encode/decode via the
java.util.Base64 class (first introduced in Java SE 8, and not available on e.g. Java SE 6 or 7).
Base64Helper provides a common API that works across Java SE 6..9 (and beyond hopefully), and
uses late binding (Reflection) to avoid javac-compile-time dependencies on a specific Java SE
version (e.g. beyond 6 or before 9).