public enum TransferEncoder extends Enum<TransferEncoder>
| Modifier and Type | Method and Description |
|---|---|
static TransferEncoder |
byDefault()
Returns default value for a Content-Transfer-Encoding header.
|
static TransferEncoder |
forName(String value)
Finds corresponding enum value for string in the argument.
|
static TransferEncoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferEncoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferEncoder SEVEN_BIT
public static final TransferEncoder EIGHT_BIT
public static final TransferEncoder BINARY
public static TransferEncoder[] values()
for (TransferEncoder c : TransferEncoder.values()) System.out.println(c);
public static TransferEncoder 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 nullpublic static TransferEncoder byDefault()
public static TransferEncoder forName(String value)
value - a value of a Content-Transfer-Encoding header.Copyright © 2023. All rights reserved.