Package ch.kk7.confij.binding.values
Enum Base64Mapper.Base64Decoder
- java.lang.Object
-
- java.lang.Enum<Base64Mapper.Base64Decoder>
-
- ch.kk7.confij.binding.values.Base64Mapper.Base64Decoder
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Base64Mapper.Base64Decoder>
- Enclosing class:
- Base64Mapper
public static enum Base64Mapper.Base64Decoder extends java.lang.Enum<Base64Mapper.Base64Decoder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RFC2045RFC4648RFC4648_URLSAFE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Base64.DecodergetDecoder()static Base64Mapper.Base64DecodervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Base64Mapper.Base64Decoder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RFC4648
public static final Base64Mapper.Base64Decoder RFC4648
-
RFC4648_URLSAFE
public static final Base64Mapper.Base64Decoder RFC4648_URLSAFE
-
RFC2045
public static final Base64Mapper.Base64Decoder RFC2045
-
-
Method Detail
-
values
public static Base64Mapper.Base64Decoder[] 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 (Base64Mapper.Base64Decoder c : Base64Mapper.Base64Decoder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Base64Mapper.Base64Decoder 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 namejava.lang.NullPointerException- if the argument is null
-
getDecoder
public java.util.Base64.Decoder getDecoder()
-
-