类 Base64Utils


  • public class Base64Utils
    extends Object
    Utility methods for encoding and decoding base64.
    • 构造器详细资料

      • Base64Utils

        public Base64Utils()
    • 方法详细资料

      • encode

        public static String encode​(String str)
        Convert str to Base64
        参数:
        str - the string need encoded
        返回:
        the base64 code of str
      • decode

        public static String decode​(String base64str)
        decode base64 string
        参数:
        base64str - the string need decoded
        返回:
        Decoded string