Class Base64


  • public class Base64
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Base64.Encoder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Base64()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] decode​(byte[] input)  
      static byte[] decode​(java.lang.String string)  
      static java.lang.String decodeToString​(java.lang.String string)  
      static byte[] encode​(byte[] input)  
      static java.lang.String encode​(java.lang.String string)  
      static java.lang.String encodeToString​(byte[] input)  
      static java.lang.String encodeToString​(byte[] input, int offset, int len)  
      static java.lang.String encodeToStringWithoutPadding​(byte[] input)  
      static void setEncoder​(Base64.Encoder encoder)  
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • encode

        public static final java.lang.String encode​(java.lang.String string)
      • encodeToString

        public static final java.lang.String encodeToString​(byte[] input)
      • encodeToString

        public static final java.lang.String encodeToString​(byte[] input,
                                                            int offset,
                                                            int len)
      • encode

        public static final byte[] encode​(byte[] input)
      • decodeToString

        public static final java.lang.String decodeToString​(java.lang.String string)
      • decode

        public static final byte[] decode​(java.lang.String string)
      • decode

        public static final byte[] decode​(byte[] input)