public static enum Base64Variant.PaddingReadBehaviour extends Enum<Base64Variant.PaddingReadBehaviour>
Enum Constant and Description |
---|
PADDING_ALLOWED
Padding is allowed but not required in Base64 content being read: no
exception thrown based on existence or absence, as long as proper
padding characters are used.
|
PADDING_FORBIDDEN
Padding is not allowed in Base64 content being read (finding something
that looks like padding at the end of content results in an exception)
|
PADDING_REQUIRED
Padding is required in Base64 content being read
(missing padding for incomplete ending quartet results in an exception)
|
Modifier and Type | Method and Description |
---|---|
static Base64Variant.PaddingReadBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Base64Variant.PaddingReadBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Base64Variant.PaddingReadBehaviour PADDING_FORBIDDEN
public static final Base64Variant.PaddingReadBehaviour PADDING_REQUIRED
public static final Base64Variant.PaddingReadBehaviour PADDING_ALLOWED
public static Base64Variant.PaddingReadBehaviour[] values()
for (Base64Variant.PaddingReadBehaviour c : Base64Variant.PaddingReadBehaviour.values()) System.out.println(c);
public static Base64Variant.PaddingReadBehaviour valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2024 FasterXML. All rights reserved.