Enum EncodingHelper.Base64Encoding

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BASIC
      Base64 using the Basic type base64 encoding scheme.
      MIME
      Base64 sing the MIME type base64 scheme.
      URL
      Base64 using URL and Filename safe type base64 scheme.
    • Method Detail

      • values

        public static EncodingHelper.Base64Encoding[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EncodingHelper.Base64Encoding c : EncodingHelper.Base64Encoding.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EncodingHelper.Base64Encoding valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • decoder

        public abstract java.util.Base64.Decoder decoder()
      • encoder

        public abstract java.util.Base64.Encoder encoder()