public static enum MetadataBuilder.InvalidCharacterHandling extends Enum<MetadataBuilder.InvalidCharacterHandling>
Enum Constant and Description |
---|
FAIL
Fail (usually with an
IllegalArgumentException ) upon addition of invalid characters
in content |
STRIP
Automatically strip invalid characters from content
|
Modifier and Type | Method and Description |
---|---|
static MetadataBuilder.InvalidCharacterHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataBuilder.InvalidCharacterHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataBuilder.InvalidCharacterHandling FAIL
IllegalArgumentException
) upon addition of invalid characters
in contentpublic static final MetadataBuilder.InvalidCharacterHandling STRIP
public static MetadataBuilder.InvalidCharacterHandling[] values()
for (MetadataBuilder.InvalidCharacterHandling c : MetadataBuilder.InvalidCharacterHandling.values()) System.out.println(c);
public static MetadataBuilder.InvalidCharacterHandling 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 © 2024 levigo holding gmbh. All rights reserved.